Commit 37ad5a79 authored by Téo Vasseur's avatar Téo Vasseur

{clone,list,segmenter}.js, vidjil.less : rewording sizeBox -> axisBox

parent 5ab8d6a4
......@@ -478,7 +478,7 @@ line {
@width_clusterBox :16px;
@width_starBox : 16px;
@width_thumbBox : 16px;
@width_sizeBox : 52px;
@width_axisBox : 52px;
@width_infoBox : 20px;
@width_systemBox : 12px;
@width_listElem : (@width_left_container - @width_scrollbar);
......@@ -572,8 +572,8 @@ line {
width: 250px;
}
.sizeBox, .identityBox {
width: @width_sizeBox;
.axisBox, .identityBox {
width: @width_axisBox;
float: right;
overflow: hidden;
display: inline-block;
......
......@@ -1239,11 +1239,11 @@ Clone.prototype = {
// Axis
var span_axis = document.createElement('span');
span_axis.className = "sizeBox";
span_axis.className = "axisBox";
// Size
// var span_size = document.createElement('span')
// span_size.className = "sizeBox";
// span_size.className = "axisBox";
// span_size.style.color = this.getColor();
// span_size.innerHTML = (new Axes(this.m)).available()["Size"].fct(this);
// span_size.setAttribute('title', this.getPrintableSize());
......
......@@ -423,7 +423,7 @@ List.prototype = {
self.clickList(e, cloneID);
}
div_elem.getElementsByClassName("sizeBox")[0]
div_elem.getElementsByClassName("axisBox")[0]
.onclick = function (e) {
self.clickList(e, cloneID);
}
......@@ -486,7 +486,7 @@ List.prototype = {
span_star.style.color = this.m.tag[clone.getTag()].color
//update clone axis
var span_axis = div_elem.getElementsByClassName("sizeBox")[0];
var span_axis = div_elem.getElementsByClassName("axisBox")[0];
span_axis.style.color = clone.getColor();
var axis = document.getElementById("list_axis_select");
span_axis.innerHTML = (new Axes(this.m)).available()[axis.value].fct(clone);
......@@ -580,7 +580,7 @@ List.prototype = {
img.className = "delBox";
var span_stat = document.createElement('span');
span_stat.className = "sizeBox";
span_stat.className = "axisBox";
var r = 100
if (clusterSize !== 0) {
......@@ -698,11 +698,11 @@ List.prototype = {
$("#" + list[i] + " .nameBox:first")
.css("color", color)
$("#" + list[i] + " .sizeBox:first")
$("#" + list[i] + " .axisBox:first")
.css("color", color)
$("#_" + list[i] + " .nameBox:first")
.css("color", color)
$("#_" + list[i] + " .sizeBox:first")
$("#_" + list[i] + " .axisBox:first")
.css("color", color)
//clone selected ?
......
......@@ -496,7 +496,7 @@ Segment.prototype = {
spanF.getElementsByClassName("nameBox2")[0].innerHTML = clone.getShortName();
// spanF.getElementsByClassName("sizeBox")[0].innerHTML = clone.getStrSize();
var axisBox = spanF.getElementsByClassName("sizeBox")[0];
var axisBox = spanF.getElementsByClassName("axisBox")[0];
axisBox.style.color = clone.getColor();
this.fillAxisBox(axisBox, clone);
......@@ -601,7 +601,7 @@ Segment.prototype = {
seq_name.title = clone.getName();
seq_name.style.color = clone.color;
var span_axis = div_elem.getElementsByClassName("sizeBox")[0];
var span_axis = div_elem.getElementsByClassName("axisBox")[0];
span_axis.style.color = clone.getColor();
this.fillAxisBox(span_axis, clone);
span_axis.onclick = function (e) {
......
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