fix: keep ordinary marker dialog close synchronous

User-Visible: no
Issue: #485
This commit is contained in:
Matysh
2026-09-09 03:53:33 +03:00
parent 3938caf00a
commit d433b64cf0
4 changed files with 38 additions and 15 deletions
+4
View File
@@ -140,6 +140,10 @@ export class RadarSetupController {
public isActive(): boolean { return this.active !== null; }
public isDirty(): boolean {
return !!this.active && (this.active.mount !== null || this.active.phase !== 'mount');
}
public syncMarker(markerId: string): void {
if (this.active && this.active.markerId !== markerId) this.reset();
}