More fixes on layer preview. Layer buttons now activate on click instead of release.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1937 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -178,6 +178,7 @@ void Button_Layer_select(void)
|
||||
{
|
||||
short layer = Layer_under_mouse();
|
||||
Layer_activate(layer, LEFT_SIDE);
|
||||
Mouse_K=0;
|
||||
}
|
||||
|
||||
void Button_Layer_toggle(void)
|
||||
@@ -194,6 +195,7 @@ void Button_Layer_toggle(void)
|
||||
layer=Main_backups->Pages->Nb_layers-1;
|
||||
|
||||
Layer_activate(layer, RIGHT_SIDE);
|
||||
Mouse_K=0;
|
||||
}
|
||||
|
||||
static void Draw_transparent_color(byte color)
|
||||
|
||||
Reference in New Issue
Block a user