Skip to content

Commit

Permalink
Improve CircleSpatialInputAcion
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasstein committed Dec 2, 2023
1 parent ff3a7c7 commit 17cde2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default class CircleSpatialInputAction {
evt.stopPropagation();
const point = view.toMap({x: evt.x, y: evt.y});
const circleGeometry = this.#geometry = this.createDonutOrCircle(point);
if (args.queryBuilderSelection) {
if (args?.queryBuilderSelection) {
this.closeWidget();
} else {
this.addGraphicToView(circleGeometry);
Expand Down

0 comments on commit 17cde2c

Please sign in to comment.