Skip to content

Commit

Permalink
feat: reset interaction after a confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
JanssenBrm committed Jan 28, 2024
1 parent 0d4d610 commit 62c795a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/map/map.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ export class MapPage implements OnInit, AfterViewInit {
);
}
}
this.setMapMode(undefined);
}

async openDeleteConfirmModal(f: Feature) {
Expand All @@ -367,6 +368,7 @@ export class MapPage implements OnInit, AfterViewInit {
} else {
this._remove.getFeatures().clear();
}
this.setMapMode(undefined);
}

private _getFeatureStyle(feature: Feature): Style {
Expand Down

0 comments on commit 62c795a

Please sign in to comment.