--- a/client/js/renderer/noderepr.js Thu Jun 04 10:04:01 2015 +0200
+++ b/client/js/renderer/noderepr.js Thu Jun 04 13:44:55 2015 +0200
@@ -417,14 +417,14 @@
this.ghost = false;
this.hidden = true;
if (typeof this.node_image !== 'undefined'){
- this.node_image.opacity = 0;
+ this.node_image.opacity = 0;
}
this.hideButtons();
this.circle.opacity = 0;
this.title.css('opacity', 0);
this.minimap_circle.opacity = 0;
-
-
+
+
_.each(
this.project.get("edges").filter(
function (ed) {
@@ -445,16 +445,16 @@
this.ghost = ghost;
if (this.ghost){
if (typeof this.node_image !== 'undefined'){
- this.node_image.opacity = 0.3;
+ this.node_image.opacity = this.options.ghost_opacity;
}
- this.circle.opacity = 0.3;
- this.title.css('opacity', 0.3);
- this.minimap_circle.opacity = 0.3;
+ this.circle.opacity = this.options.ghost_opacity;
+ this.title.css('opacity', this.options.ghost_opacity);
+ this.minimap_circle.opacity = this.options.ghost_opacity;
} else {
this.hidden = false;
this.redraw();
}
-
+
_.each(
this.project.get("edges").filter(
function (ed) {
@@ -467,7 +467,7 @@
repr.show(_this.ghost);
}
}
- );
+ );
},
hideNeighbors: function(){
var _this = this;