diff options
author | Bert Münnich <ber.t@posteo.de> | 2014-09-25 20:57:24 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2014-09-26 10:31:03 +0200 |
commit | eaa269b6cb486f83229cb0d3dc5f7e03d1c485bb (patch) | |
tree | 747866d0326009a8e2ab52467d69dc1af101eb06 /commands.c | |
parent | 52e56c892460e7d1f63ca557b705812f08d6d20c (diff) | |
download | nsxiv-eaa269b6cb486f83229cb0d3dc5f7e03d1c485bb.tar.zst |
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
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |