We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b73b4a1 commit 165e88bCopy full SHA for 165e88b
src/renderer/tool/container/svg.cljs
@@ -79,12 +79,3 @@
79
:on-double-click pointer-handler})]
80
(for [element (merge child-elements)]
81
[tool/render element])]]))
82
-
83
-(defmethod tool/render-to-string :svg
84
- [{:keys [attrs children]}]
85
- (let [child-elements @(rf/subscribe [::element.s/filter-visible children])
86
- attrs (->> (dissoc attrs :fill)
87
- (remove #(empty? (str (second %))))
88
- (into {}))]
89
- (->> (doall (map tool/render-to-string (merge child-elements)))
90
- (into [:svg attrs]))))
src/renderer/tool/text.cljs
@@ -13,7 +13,7 @@
13
[renderer.utils.element :as element]
14
[renderer.utils.units :as units]))
15
16
-(derive :text ::tool/renderable)
+(derive :text ::tool/shape)
17
18
(defmethod tool/properties :text
19
[]
0 commit comments