fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: adding gap class to ui
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
commands.js
diff --git
a/src/editor/modules/documentCanvas/commands.js
b/src/editor/modules/documentCanvas/commands.js
index
284c613
..
e0fc3f8
100644
(file)
--- a/
src/editor/modules/documentCanvas/commands.js
+++ b/
src/editor/modules/documentCanvas/commands.js
@@
-97,7
+97,7
@@
commands.register('list', function(canvas, params) {
});
commands.register('toggle-grid', function(canvas, params) {
});
commands.register('toggle-grid', function(canvas, params) {
- canvas.doc().dom().
find('[wlxml-tag]').toggleClass('rng-common-hoveredNode
', params.toggle);
+ canvas.doc().dom().
parent().toggleClass('grid-on
', params.toggle);
gridToggled = params.toggle;
});
gridToggled = params.toggle;
});