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;
}