This commit is contained in:
Ashley Wulber 2025-05-12 10:16:19 -04:00
parent 2cfef8814e
commit 8642a92270
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
3 changed files with 124 additions and 120 deletions

View file

@ -53,6 +53,7 @@ pub(crate) struct MenuBarStateInner {
pub(crate) active_root: Vec<Vec<usize>>,
pub(crate) horizontal_direction: Direction,
pub(crate) vertical_direction: Direction,
/// List of all menu states
pub(crate) menu_states: Vec<Vec<MenuState>>,
}
impl MenuBarStateInner {
@ -559,7 +560,7 @@ where
path_highlight: self.path_highlight,
style: std::borrow::Cow::Borrowed(&self.style),
position: Point::new(translation.x, translation.y),
is_overlay: false,
is_overlay: true,
window_id: window::Id::NONE,
depth: 0,
}