Skip to content

Commit

Permalink
doc: add Image methods
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatthieu3 committed Oct 9, 2024
1 parent 84f998a commit d94a93c
Show file tree
Hide file tree
Showing 5 changed files with 504 additions and 322 deletions.
3 changes: 3 additions & 0 deletions src/js/FiniteStateMachine/PolySelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ export class PolySelect extends FSM {
let finish = () => {
if (this.coos.length <= 2) {
console.warn("Invalid selection, please draw at least a 3 vertices polygon")

view.mustClearCatalog = true;
view.requestRedraw();
this.dispatch("off")
return;
}
Expand Down
Loading

0 comments on commit d94a93c

Please sign in to comment.