Gradient menu: palette now resets when you release speed slider, this fixes bad menu colors when they are in the shift. Lua: messagebox() and inputbox() now recompute menu colors before opening, this fixes bad menu colors if the script had altered the palette earlier.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1602 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -2607,7 +2607,11 @@ void Button_Gradients(void)
|
||||
|
||||
clicked_button=Window_clicked_button();
|
||||
if (Input_sticky_control!=8 || !Mouse_K)
|
||||
{
|
||||
Allow_colorcycling=0;
|
||||
// Restore palette
|
||||
Set_palette(Main_palette);
|
||||
}
|
||||
|
||||
switch(clicked_button)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user