Skip to content

Commit 4ab114e

Browse files
committed
remove unneeded methods
1 parent b3f9a35 commit 4ab114e

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/renderer/tool/animation/animation.cljs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,3 @@
1313
attrs
1414
(for [el child-elements]
1515
^{:key (:key el)} [tool/render el])]))
16-
17-
(defmethod tool/bounds ::tool/animation [] nil)

src/renderer/tool/shape/path.cljs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@
6464
(.translate x y)
6565
.toString))))
6666

67-
(defmethod tool/area :path
68-
[{{:keys [d]} :attrs}]
69-
d)
70-
7167
(defmethod tool/bounds :path
7268
[{{:keys [d]} :attrs}]
7369
(let [[left top right bottom] (js->clj (svg-path-bbox d))]

0 commit comments

Comments
 (0)