chore: various fixes and some cleanup
This commit is contained in:
parent
e10459fb37
commit
e8d53b14ea
27 changed files with 1181 additions and 107 deletions
|
|
@ -1008,7 +1008,7 @@ impl<Message: std::clone::Clone + 'static> Widget<Message, crate::Theme, crate::
|
|||
&mut menu,
|
||||
renderer,
|
||||
shell,
|
||||
cursor.position().unwrap(),
|
||||
cursor.position().unwrap_or_default(),
|
||||
layout.bounds().size(),
|
||||
Vector::new(0., 0.),
|
||||
layout.bounds(),
|
||||
|
|
@ -1181,7 +1181,6 @@ pub(crate) fn init_root_menu<Message: Clone>(
|
|||
menu_bounds,
|
||||
};
|
||||
state.menu_states.push(ms);
|
||||
|
||||
// Hack to ensure menu opens properly
|
||||
shell.invalidate_layout();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue