fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fix
[fnpeditor.git]
/
modules
/
documentCanvas
/
documentCanvas.js
diff --git
a/modules/documentCanvas/documentCanvas.js
b/modules/documentCanvas/documentCanvas.js
index
decda83
..
2f8dae5
100644
(file)
--- a/
modules/documentCanvas/documentCanvas.js
+++ b/
modules/documentCanvas/documentCanvas.js
@@
-55,10
+55,10
@@
return function(sandbox) {
sandbox.publish('currentNodeElementChanged', currentNodeElement);
},
highlightElement: function(element) {
sandbox.publish('currentNodeElementChanged', currentNodeElement);
},
highlightElement: function(element) {
-
canvas.highlightElement(element
);
+
element.toggleHighlight(true
);
},
dimElement: function(element) {
},
dimElement: function(element) {
-
canvas.dimElement(element
);
+
element.toggleHighlight(false
);
},
jumpToElement: function(element) {
canvas.setCurrentElement(element);
},
jumpToElement: function(element) {
canvas.setCurrentElement(element);