Fix zoom
Template tests / tests (push) Successful in 1m52s

This commit is contained in:
2026-07-07 12:59:55 -05:00
parent 9e13ea9c40
commit 68e886c142
3 changed files with 40 additions and 2 deletions
+3
View File
@@ -178,6 +178,9 @@ class GuideEditor {
setActive(active) {
this.active = Boolean(active);
if (api.editor && typeof api.editor.setCanvasZoomActive === 'function') {
api.editor.setCanvasZoomActive(this.active);
}
if (!this.active && this.guideId) {
// Leaving the editor: flush pending debounced saves so navigation can
// never drop the last edit (failures keep the dirty state and retry),