X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/b5a1f98a2118706355925314bfe3027ba45464e8..3eaf5e66203b1afafc81dfb1214660b20a11739f:/modules/rng/rng.js diff --git a/modules/rng/rng.js b/modules/rng/rng.js index a42632d..0322ca2 100644 --- a/modules/rng/rng.js +++ b/modules/rng/rng.js @@ -113,11 +113,16 @@ return function(sandbox) { }, nodeHovered: function(node) { + sandbox.getModule('documentCanvas').highlightNode(node.attr('id')); sandbox.getModule('nodeFamilyTree').highlightNode(node.attr('id')); + sandbox.getModule('nodeBreadCrumbs').highlightNode(node.attr('id')); + }, nodeBlured: function(node) { + sandbox.getModule('documentCanvas').dimNode(node.attr('id')); sandbox.getModule('nodeFamilyTree').dimNode(node.attr('id')); + sandbox.getModule('nodeBreadCrumbs').dimNode(node.attr('id')); } };