Skip to content

Commit

Permalink
Fix bug where magicwand tool and polygonbrush is active
Browse files Browse the repository at this point in the history
  • Loading branch information
lehecht committed Mar 12, 2024
1 parent 05f1b08 commit f194a08
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export default {
isUsingPolygonFill() {
return this.interactionMode === 'polygonFill';
},
isDefault() {
return this.interactionMode === 'default';
isNotAPolygonTool() {
return !(this.isUsingPolygonBrush || this.isUsingPolygonEraser || this.isUsingPolygonFill);
}
},
methods: {
Expand Down Expand Up @@ -133,8 +133,8 @@ export default {
this.togglePolygonFillInteraction();
}
},
isDefault() {
if (this.isDefault) {
isNotAPolygonTool() {
if (this.isNotAPolygonTool) {
this.resetCurrentInteraction();
}
}
Expand Down

0 comments on commit f194a08

Please sign in to comment.