summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d859350)
Previously new nodes didn't get their border during grid being toggled.
});
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;
});
+.grid-on {
+ [wlxml-tag] {
+ .rng-common-hoveredNode;
+ }
+}
+
[wlxml-tag=span] {
min-width: 10px;
}
[wlxml-tag=span] {
min-width: 10px;
}