From b8463b4db564ea042810889ab685bb156b9f970d Mon Sep 17 00:00:00 2001 From: aiongg Date: Wed, 18 Nov 2026 21:01:49 +0000 Subject: [PATCH] Dock: the canvas panel has no content version and runs every pass --- crates/ui-egui/src/panels/panel_docking.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/src/panels/panel_docking.rs b/crates/ui-egui/src/panels/panel_docking.rs index c333c00fae..d86e9a70a8 100644 --- a/crates/ui-egui/src/panels/panel_docking.rs +++ b/crates/ui-egui/src/panels/panel_docking.rs @@ -187,7 +187,11 @@ impl DockPanels for Panels<'_> { } fn content(&self, panel: &String) -> Option { - Some(super::region_versions::panel(self.app, panel)) + match panel.as_str() { + // The canvas shows state that changes without a command: the view, redraw progress, animation and job overlays. + CANVAS => None, + _ => Some(super::region_versions::panel(self.app, panel)), + } } /// The canvas group is the document area: it draws its own tabs and documents in the group's rect. The toolbar's