Revised thumbnail loading...

- Only load the thumbnails that are currently visible in the window
- Unload thumbnails that are leaving the visible area
- Much less memory needed, but scrolling is now slower
- This also unintentionally fixes issue #86
This commit is contained in:
Bert Münnich
2014-09-25 20:57:24 +02:00
parent 52e56c8924
commit eaa269b6cb
5 changed files with 71 additions and 45 deletions

View File

@ -470,7 +470,8 @@ bool ct_reload_all(arg_t a)
{
tns_free(&tns);
tns_init(&tns, files, filecnt, &fileidx, &win);
return false;
tns.dirty = true;
return true;
}