egui/crates
Danny Stoll 128afdde0a
Changed logic for submenus closing (#3055)
This tiny change removes the trigger for a submenu to close if the mouse
is no longer hovering over it or one of its children. Now, the menu
stays open until a different menu item is selected. This aims to address
<https://github.com/emilk/egui/issues/2853>.

I suspected that a new trigger would need to be implemented so that
multiple menu items don't remain open simultaneously, but after some
testing, this does not appear to occur.

This change leaves `MenuState::hovering_current_submenu` and
`MenuState::close_submenu` as dead code in case they might be useful
later.

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2024-01-07 16:25:29 +01:00
..
ecolor Add `DragValue`s for RGB(A) in the color picker (#2734) 2024-01-07 16:12:59 +01:00
eframe `eframe`: Fix building the `wasm32` docs for `docs.rs` (#3757) 2023-12-31 10:26:02 +01:00
egui Changed logic for submenus closing (#3055) 2024-01-07 16:25:29 +01:00
egui-wgpu Bump `winit` to `0.29.7` (#3753) 2024-01-02 07:27:52 +01:00
egui-winit Ignore extra SHIFT and ALT when matching modifiers (#3769) 2024-01-05 10:53:14 +01:00
egui_demo_app Fix some clippy 1.75 lints (#3754) 2023-12-30 11:23:21 +01:00
egui_demo_lib Add indeterminate state to checkbox (#3605) 2024-01-06 22:34:23 +01:00
egui_extras Fix: apply edited `DragValue` when it looses focus (#3776) 2024-01-06 23:51:51 +01:00
egui_glow Update to glow 0.13 (#3715) 2023-12-18 15:15:20 +01:00
egui_plot Add a public API for overriding plot legend traces' visibilities (#3534) 2024-01-06 22:35:54 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Add a bunch of `#[inline]` 2023-12-18 17:28:47 +01:00
epaint Fix: allow using the full Private Use Area for custom fonts (#3509) 2024-01-06 22:33:08 +01:00