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

scatterplot: debug selector (can produce some artefact with chrome)

parent f5a08a91
...@@ -1647,6 +1647,7 @@ ScatterPlot.prototype = { ...@@ -1647,6 +1647,7 @@ ScatterPlot.prototype = {
.attr("y", this.coordinates[1]) .attr("y", this.coordinates[1])
.attr("width", 0) .attr("width", 0)
.attr("height", 0) .attr("height", 0)
.style("display", "");
} }
...@@ -1771,8 +1772,7 @@ ScatterPlot.prototype = { ...@@ -1771,8 +1772,7 @@ ScatterPlot.prototype = {
} }
this.selector this.selector
.attr("x", 0) .style("display", "none")
.attr("y", 0)
.attr("width", 0) .attr("width", 0)
.attr("height", 0) .attr("height", 0)
this.active_selector = false; this.active_selector = false;
...@@ -1794,8 +1794,7 @@ ScatterPlot.prototype = { ...@@ -1794,8 +1794,7 @@ ScatterPlot.prototype = {
cancelSelector: function () { cancelSelector: function () {
this.selector this.selector
.attr("x", 0) .style("display", "none")
.attr("y", 0)
.attr("width", 0) .attr("width", 0)
.attr("height", 0) .attr("height", 0)
//On met le sélecteur à false -> annulation //On met le sélecteur à false -> annulation
......
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