Fix the 'FX' button that didn't refresh its state when swapping pages between an image with Tilemap ON (button should be highlighted) and an image with Tilemap OFF (button not highlighted)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1928 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2012-03-11 16:50:28 +00:00
parent 5af6f7bd4d
commit 145c9545e7
3 changed files with 12 additions and 4 deletions

View File

@@ -1327,8 +1327,7 @@ void Main_handler(void)
if (effect_modified)
{
Hide_cursor();
Draw_menu_button(BUTTON_EFFECTS,
(Shade_mode||Quick_shade_mode||Colorize_mode||Smooth_mode||Tiling_mode||Smear_mode||Stencil_mode||Mask_mode||Sieve_mode||Snap_mode));
Draw_menu_button(BUTTON_EFFECTS, Any_effect_active());
Display_cursor();
}
}