Dock: the canvas panel has no content version and runs every pass

This commit is contained in:
aiongg committed 2026-11-18 21:01:49 +00:00
1 parent 4109fb1c79
commit b8463b4db5
1 file changed
+5 -1
+5 -1
View File
@@ -187,7 +187,11 @@ impl DockPanels<String> for Panels<'_> {
}
fn content(&self, panel: &String) -> Option<u64> {
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