mode reset on window change

This commit is contained in:
Lucio Lelii 2026-03-16 15:44:09 +01:00
parent 8a8978937f
commit 1c1121d423
1 changed files with 4 additions and 0 deletions

View File

@ -217,6 +217,10 @@ export class ReteEditor implements OnChanges, OnDestroy {
if (!host) return;
const currentVersion = ++this.loadVersion;
this.editorMode.set('standard');
this.selectionPointerId = null;
this.selectionStart = null;
this.selectionBox.set(null);
this.flowState.clearBlockSelection();
this.suppressDirtyEvents = true;
this.rete?.area.destroy();