Change summary
crates/editor/src/hover_popover.rs | 1 +
crates/ui/src/components/context_menu.rs | 1 +
2 files changed, 2 insertions(+)
Detailed changes
@@ -339,6 +339,7 @@ fn show_hover(
this.hover_state.info_popover = hover_popover;
cx.notify();
+ cx.refresh();
})?;
Ok::<_, anyhow::Error>(())
@@ -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(),