Fix a missing refresh on buttons display when the main tool bar is hidden.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1517 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
ca1dc98d19
commit
93c711205c
@ -324,7 +324,7 @@ void Draw_menu_button(byte btn_number,byte pressed)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Menu_is_visible && Menu_bars[MENUBAR_TOOLS].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[MENUBAR_TOOLS].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