This commit is contained in:
Ashley Wulber 2025-04-25 00:28:08 -04:00
parent 4fcd09d690
commit 9e9449d302
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
5 changed files with 649 additions and 191 deletions

View file

@ -8,7 +8,7 @@ use crate::widget::menu::{
};
use derive_setters::Setters;
use iced::touch::Finger;
use iced::{Event, Vector};
use iced::{Event, Vector, window};
use iced_core::widget::{Tree, Widget, tree};
use iced_core::{Length, Point, Size, event, mouse, touch};
use std::collections::HashSet;
@ -257,6 +257,9 @@ impl<Message: 'static + Clone> Widget<Message, crate::Theme, crate::Renderer>
path_highlight: Some(PathHighlight::MenuActive),
style: std::borrow::Cow::Borrowed(&crate::theme::menu_bar::MenuBarStyle::Default),
position: Point::new(translation.x, translation.y),
is_overlay: true,
window_id: window::Id::NONE,
depth: 0,
}
.overlay(),
)