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:
Julian Eisel
2023-06-16 11:47:28 +02:00
parent 962fca47d9
commit e76d2a241c

View File

@@ -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);
}