Commit 7671e68b authored by Andrew Cohen's avatar Andrew Cohen

init the render check on lineage features

parent dd6c4f22
......@@ -1116,10 +1116,15 @@ function lineageShowFeatures(cx)
newFeature.id='cellFeatures_'+i;
var color=standardize_color(cxFeatures[i].color);
// feature is index,color,show,delete
var txtChecked;
if (undefined==cxFeatures[i].bRender || false==cxFeatures[i].bRender)
txtChecked='';
else
txtChecked='checked';
newFeature.innerHTML=cxFeatures[i].name+' <input type="color" value="'+color+
'" id="featureColor_'+i+'" onChange="changeFeatureColor('+i+')" /> on_lineage <input type="checkbox" '+
' onclick="toggleShowFeature('+i+')" id=featureShow_'+i+'> on_image <input type="checkbox" '+
' onclick="toggleRenderFeature('+i+')" id=featureRender_'+i+'>';
' onclick="toggleRenderFeature('+i+')" id=featureRender_'+i+' '+txtChecked+'>'
divFeatures.appendChild(newFeature);
document.getElementById('featureShow_'+i).checked=cxFeatures[i].bShow;
}
......
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