Skip to content

Commit

Permalink
Merge pull request #28 from conterra/dev_#27
Browse files Browse the repository at this point in the history
Fix window not closing after manual deactivation following selection
  • Loading branch information
sholtkamp authored Dec 20, 2024
2 parents e262345 + a4fb613 commit 7ff1c70
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,11 @@ export default class {
}

disable() {
this.#moveHandle.remove();
this.#moveHandle = null;
if (this.#moveHandle) {
this.#moveHandle.remove();
this.#moveHandle = null;
}

this.closeWidget();
this.removeClickGraphicFromView();
this.removeMoveGraphicFromView();
Expand Down

0 comments on commit 7ff1c70

Please sign in to comment.