Commit 57af9eb3 authored by Robin Tissot's avatar Robin Tissot
Browse files

Fix to overlaping regions selection cycling.

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