Commit de8b34c7 authored by marc's avatar marc Committed by marc duez

graph.js : use default "path" for inactive clones

parent 833c22f9
......@@ -577,6 +577,10 @@ Graph.prototype = {
t = 0;
var p;
var clone = self.m.clone(id)
if (!clone.isActive() && !clone.isSelected() && !clone.isFocus()) return ' M 0,' + self.resizeH;
if (clone.top > self.display_limit)return ' M 0,' + self.resizeH;
var size = []
for (var i = 0; i < this.graph_col.length; i++) {
if (seq_size) size[i] = this.m.clone(id).getSequenceSize(this.m.samples.order[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