Commit 4d40413d authored by Mikaël Salson's avatar Mikaël Salson

js/scatterPlot.js: A clone must have a positive size to be viewed

Fixes #3291 and follows f8075d81
parent 269e135e
Pipeline #28792 passed with stages
in 6 minutes and 40 seconds
......@@ -1240,7 +1240,8 @@ ScatterPlot.prototype = {
if (otherSize > size) size = otherSize
}
if ((size == Clone.prototype.NOT_QUANTIFIABLE_SIZE) || (size < this.CLONE_MIN_SIZE))
if ((size == Clone.prototype.NOT_QUANTIFIABLE_SIZE) ||
(size > 0 && size < this.CLONE_MIN_SIZE))
size = this.CLONE_MIN_SIZE
this.nodes[cloneID].s = size
......
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