Skip to content

Commit

Permalink
keep the editor running until the active popup is fully shown
Browse files Browse the repository at this point in the history
  • Loading branch information
mrDIMAS committed Dec 12, 2024
1 parent f049a27 commit 4b83823
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions editor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2190,6 +2190,14 @@ impl Editor {
self.handle_modes();

let ui = self.engine.user_interfaces.first_mut();

if let Some(active_tooltip) = ui.active_tooltip() {
if !active_tooltip.shown {
// Keep the editor running until the current tooltip is not shown.
self.update_loop_state.request_update_in_next_frame();
}
}

self.log.update(self.settings.general.max_log_entries, ui);
if let Some(export_window) = self.export_window.as_mut() {
export_window.update(ui);
Expand Down

0 comments on commit 4b83823

Please sign in to comment.