Commit 22684c4f authored by Marc Duez's avatar Marc Duez
Browse files

model.js : displayTop debug (range was a bit too large)

parent aa137372
...@@ -1096,7 +1096,7 @@ Model.prototype = { ...@@ -1096,7 +1096,7 @@ Model.prototype = {
if (html_label != null) { if (html_label != null) {
var count = 0; var count = 0;
for (var i=0; i<this.n_clones; i++){ for (var i=0; i<this.n_clones; i++){
if (this.clone(i).top <= top) count++; if (this.clone(i).top < top) count++;
} }
html_label.innerHTML = count + ' clones (top ' + top + ')' ; html_label.innerHTML = count + ' clones (top ' + top + ')' ;
} }
......
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