Z index shenanigans (#4089)
Release Notes: - Fixed a bug allowing certain UI elements to render incorrectly when overlapping.
This commit is contained in:
commit
2fbf42d7df
4 changed files with 13 additions and 3 deletions
|
@ -51,6 +51,7 @@ impl ContextMenu {
|
|||
let _on_blur_subscription = cx.on_blur(&focus_handle, |this: &mut ContextMenu, cx| {
|
||||
this.cancel(&menu::Cancel, cx)
|
||||
});
|
||||
cx.refresh();
|
||||
f(
|
||||
Self {
|
||||
items: Default::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue