Fix an incomplete screen update when you click the top of a button (pressed state), was only visible on toolbar Anim (when menu ratio is x2 or x3) or layers/status (when menu ratio is x3).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1996 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
48bb895147
commit
fdedfd628b
@ -275,7 +275,7 @@ void Draw_menu_button(byte btn_number,byte pressed)
|
|||||||
|
|
||||||
if (Menu_is_visible && Menu_bars[current_menu].Visible)
|
if (Menu_is_visible && Menu_bars[current_menu].Visible)
|
||||||
Update_rect(Menu_factor_X*(Buttons_Pool[btn_number].X_offset),
|
Update_rect(Menu_factor_X*(Buttons_Pool[btn_number].X_offset),
|
||||||
(Buttons_Pool[btn_number].Y_offset+Menu_bars[MENUBAR_TOOLS].Top)*Menu_factor_Y+Menu_Y,
|
(Buttons_Pool[btn_number].Y_offset+Menu_bars[current_menu].Top)*Menu_factor_Y+Menu_Y,
|
||||||
width*Menu_factor_X,height*Menu_factor_Y);
|
width*Menu_factor_X,height*Menu_factor_Y);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user