Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 57af9eb3 authored by Robin Tissot's avatar Robin Tissot
Browse files

Fix to overlaping regions selection cycling.

parent 5b60dead
Branches
Tags
No related merge requests found
...@@ -1182,8 +1182,10 @@ class Segmenter { ...@@ -1182,8 +1182,10 @@ class Segmenter {
for (let i=0; i<this.regions.length; i++) { for (let i=0; i<this.regions.length; i++) {
if (this.selecting.selected && this.regions[i] != this.selecting) { if (this.selecting.selected && this.regions[i] != this.selecting) {
let hit = this.regions[i].polygonPath.hitTest(event.point); let hit = this.regions[i].polygonPath.hitTest(event.point);
if (hit) this.selecting = this.regions[i]; if (hit) {
break; this.selecting = this.regions[i];
break;
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment