Commit 2e3af55b authored by Mathieu Giraud's avatar Mathieu Giraud

js/segmenter.js, js/list.js: add a 'title' with more information on clone sizes

parent 58feebfb
......@@ -474,6 +474,7 @@ List.prototype = {
var span_size = div_elem.getElementsByClassName("sizeBox")[0];
span_size.style.color = this.m.clone(cloneID).getColor();
span_size.innerHTML = this.m.clone(cloneID).getStrSize();
span_size.setAttribute('title', this.m.clone(cloneID).getPrintableSize());
//update cluster icon
var span_cluster = div_elem.getElementsByClassName("clusterBox")[0];
......
......@@ -530,6 +530,7 @@ Segment.prototype = {
}
seq_size.style.color = clone.color;
seq_size.appendChild(document.createTextNode(clone.getStrSize()));
seq_size.setAttribute('title', clone.getPrintableSize())
// Info
var span_info = document.createElement('span')
......
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