Added options for anti-alias & alpha layer coloring to config.def.h

Also removed now obsolete -p command line option; fixes issue #98
This commit is contained in:
Bert Münnich
2013-08-22 12:59:05 +02:00
parent fb6e4bdd98
commit 26a624a543
8 changed files with 23 additions and 15 deletions

View File

@ -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;