Commit 253d9871 authored by Romain Loth's avatar Romain Loth

fix label opacity artifact, and lefttopbox readmore

parent 97dd4c84
......@@ -475,6 +475,7 @@ function circleTrackMouse(e) {
ctx.closePath();
ctx.fill();
ctx.stroke();
ctx.globalAlpha = 1
// });
}
}
......
......@@ -247,7 +247,7 @@ function SelectionEngine() {
TW.partialGraph.render();
updateLeftPanel_fix( selections , oppos );
updateLeftPanel( selections , oppos );
for(var n in neighsDict)
delete neighsDict[n]
......
......@@ -44,6 +44,7 @@ function cancelSelection (fromTagCloud) {
$("#information").html("");
$("#searchinput").val("");
$("#unselectbutton").hide();
$("#lefttopbox").hide();
$("#tips").html(getTips());
}
......@@ -356,8 +357,7 @@ function htmlfied_tagcloud(elems , limit) {
//missing: getTopPapers for both node types
//considering complete graphs case! <= maybe i should mv it
function updateLeftPanel_fix( sels , oppos ) {
console.log("updateLeftPanel() corrected version** ")
function updateLeftPanel( sels , oppos ) {
var namesDIV=''
var alterNodesDIV=''
var informationDIV=''
......@@ -405,6 +405,7 @@ function updateLeftPanel_fix( sels , oppos ) {
// and im commenting now because github is not
// pushing my commit
// because i need more lines, idk
$("#lefttopbox").show();
$("#names").html(namesDIV).readmore({maxHeight:100});
$("#tab-container").show();
$("#opossiteNodes").html(alterNodesDIV).readmore({maxHeight:200});
......
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