Skip to content

Commit

Permalink
Concatenate x,y coordinates before size check
Browse files Browse the repository at this point in the history
  • Loading branch information
lehecht committed Aug 9, 2023
1 parent af7dfc3 commit 2fdf82a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ export default {
}
},
getShapeCoordinateSetSize(points){
return new Set(points.map(xy => String(xy))).size;
return new Set(points.map(xy => String([xy]))).size;
},
deleteSelectedAnnotations() {
if (!this.modifyInProgress && this.hasSelectedAnnotations && confirm('Are you sure you want to delete all selected annotations?')) {
Expand Down

0 comments on commit 2fdf82a

Please sign in to comment.