fix: request redraw in menus

This commit is contained in:
Hojjat 2026-08-04 13:58:23 -06:00 • committed by Ashley Wulber
parent 1ac21a9d99
commit 5fd1ca4220
4 changed files with 14 additions and 3 deletions

View file

@ -656,6 +656,7 @@ where
Mouse(mouse::Event::CursorMoved { .. } | mouse::Event::CursorEntered)
if open && view_cursor.is_over(layout.bounds()) =>
{
shell.request_redraw();
shell.capture_event();
#[cfg(wayland_platform)]
if matches!(WINDOWING_SYSTEM.get(), Some(WindowingSystem::Wayland)) {