diff options
author | Bert Münnich <be.muennich@gmail.com> | 2013-08-22 12:59:05 +0200 |
---|---|---|
committer | Bert Münnich <be.muennich@gmail.com> | 2013-08-22 12:59:05 +0200 |
commit | 26a624a543f2e723550996d76d90ccbb7b954aeb (patch) | |
tree | 8799c977b965656ccea3c9ec14c7ba00f0204a0f /commands.c | |
parent | fb6e4bdd980f72082a264894c12ed7e0650a5bf9 (diff) | |
download | nsxiv-26a624a543f2e723550996d76d90ccbb7b954aeb.tar.zst |
Added options for anti-alias & alpha layer coloring to config.def.h
Also removed now obsolete -p command line option; fixes issue #98
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -74,8 +74,10 @@ bool it_quit(arg_t a) bool it_switch_mode(arg_t a) { if (mode == MODE_IMAGE) { - if (tns.thumbs == NULL) + if (tns.thumbs == NULL) { tns_init(&tns, filecnt, &win); + tns.alpha = img.alpha; + } img_close(&img, false); reset_timeout(reset_cursor); tns.sel = fileidx; |