Do not show tooltip for editor controls if clicked (#10679)
This avoids the tooltip showing up when the context menu is visible. It fixes this:  Release Notes: - N/A
This commit is contained in:
parent
47ad010901
commit
62171387f6
1 changed files with 3 additions and 1 deletions
|
@ -180,7 +180,9 @@ impl Render for QuickActionBar {
|
|||
quick_action_bar.toggle_settings_menu = Some(menu);
|
||||
})
|
||||
})
|
||||
.tooltip(|cx| Tooltip::text("Editor Controls", cx));
|
||||
.when(self.toggle_settings_menu.is_none(), |this| {
|
||||
this.tooltip(|cx| Tooltip::text("Editor Controls", cx))
|
||||
});
|
||||
|
||||
h_flex()
|
||||
.id("quick action bar")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue