Commit 4b38bf50 authored by Marc Duez's avatar Marc Duez
Browse files

scatterplot.js : debug multi-select on scatterplot

(problem with empty clones)
parent 461aeaf9
...@@ -1777,8 +1777,8 @@ ScatterPlot.prototype = { ...@@ -1777,8 +1777,8 @@ ScatterPlot.prototype = {
var node_x = this.nodes[i].x + this.marge_left var node_x = this.nodes[i].x + this.marge_left
var node_y = this.nodes[i].y + this.marge_top var node_y = this.nodes[i].y + this.marge_top
var clone = this.m.clone(i)
if (this.m.clone(i).isActive() && this.m.clone(i).getSequenceSize() && node_x > x1 && node_x < x2 && node_y > y1 && node_y < y2) if (clone.isActive() && (clone.getSize() || clone.getSequenceSize()) && node_x > x1 && node_x < x2 && node_y > y1 && node_y < y2)
nodes_selected.push(i); nodes_selected.push(i);
} }
......
Markdown is supported
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