mirror of
https://github.com/gsi-upm/soil
synced 2024-12-22 16:28:11 +00:00
Bugs
This commit is contained in:
parent
3383318fea
commit
3387cf6462
@ -102,6 +102,17 @@
|
||||
} else {
|
||||
return color(d[property]);
|
||||
}
|
||||
})
|
||||
.on('dblclick', function(d) {
|
||||
d3.event.stopPropagation();
|
||||
if (d === lastFocusNode) {
|
||||
lastFocusNode = undefined;
|
||||
node.style('opacity', 1);
|
||||
link.style('opacity', 1);
|
||||
} else {
|
||||
lastFocusNode = d;
|
||||
_helpers.set_focus(d);
|
||||
}
|
||||
});
|
||||
},
|
||||
set_link: function(link) {
|
||||
|
Loading…
Reference in New Issue
Block a user