Fix missing mouse hover highlight for UI view items in menus
The hover highlight is done with some special handling that wasn't called for buttons in menus. There's actually no case where this happens in the main branch but it's needed for #104831.
This commit is contained in:
@@ -11347,6 +11347,10 @@ static int ui_handle_menus_recursive(bContext *C,
|
||||
}
|
||||
}
|
||||
|
||||
if (!menu->retvalue) {
|
||||
ui_handle_viewlist_items_hover(event, menu->region);
|
||||
}
|
||||
|
||||
if (do_towards_reinit) {
|
||||
ui_mouse_motion_towards_reinit(menu, event->xy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user