Skip to content

Commit

Permalink
Fix window not closing after manual deactivation following selection
Browse files Browse the repository at this point in the history
  • Loading branch information
sholtkamp committed Dec 16, 2024
1 parent e262345 commit a4fb613
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 a4fb613

Please sign in to comment.