Fix bad submenu hilight
This commit is contained in:
parent
be7d961ee7
commit
ee03956a86
@ -129,7 +129,7 @@ void _menu_draw_MenuEntry_Submenu(gfx_context_t * ctx, struct MenuEntry * self,
|
||||
|
||||
struct MenuEntry_Submenu * _self = (struct MenuEntry_Submenu *)self;
|
||||
int h = _self->hilight;
|
||||
if (_self->_owner && _self->_owner->child == _self->_my_child) {
|
||||
if (_self->_owner && _self->_my_child && _self->_owner->child == _self->_my_child) {
|
||||
_self->hilight = 1;
|
||||
}
|
||||
_menu_draw_MenuEntry_Normal(ctx,self,offset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user