We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a93be commit 4b8aa62Copy full SHA for 4b8aa62
src/renderer/element/impl/container/canvas.cljs
@@ -75,6 +75,8 @@
75
(map (fn [{:keys [id tag attrs]}] [:filter {:id id :key id} [tag attrs]])
76
filters/accessibility)]
77
78
+ (when grid [ruler.v/grid])
79
+
80
(when-not read-only?
81
[:<>
82
[tool.hierarchy/render (or primary-tool active-tool)]
@@ -85,9 +87,7 @@
85
87
(when snapped-el
86
88
[svg/bounding-box (:bbox snapped-el) true])
89
(when nearest-neighbor
- [snap.v/canvas-label nearest-neighbor])])
-
90
- (when grid [ruler.v/grid])]))
+ [snap.v/canvas-label nearest-neighbor])])]))
91
92
(defmethod hierarchy/render-to-string :canvas
93
[el]
0 commit comments