Commit e003d372 authored by Marc Duez's avatar Marc Duez

scatterplot.js : alow select on all visible clones

parent 6b58dc54
......@@ -603,7 +603,6 @@ Model.prototype = {
if (typeof this.mapID[clusters[i][j]] != 'undefined'){
var cloneID = this.mapID[clusters[i][j]]
new_cluster = new_cluster.concat(this.clusters[cloneID]);
console.log(cloneID + " +++ "+new_cluster)
this.clusters[cloneID] = [];
}
}
......
......@@ -1777,7 +1777,7 @@ ScatterPlot.prototype = {
var node_x = this.nodes[i].x + this.marge_left
var node_y = this.nodes[i].y + this.marge_top
if (this.m.clone(i).isActive() && this.m.clone(i).getSize() && node_x > x1 && node_x < x2 && node_y > y1 && node_y < y2)
if (this.m.clone(i).isActive() && node_x > x1 && node_x < x2 && node_y > y1 && node_y < y2)
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