0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 07:41:43 -05:00

Remove unused function on svg ns.

This commit is contained in:
Andrey Antukh 2016-01-23 22:11:42 +02:00
parent daa09627c8
commit ee4e8d30b5

View file

@ -69,10 +69,3 @@
(->> (map #(nth result %) [0 3 1 4 2 5]) (->> (map #(nth result %) [0 3 1 4 2 5])
(str/join ",") (str/join ",")
(str/format "matrix(%s)")))) (str/format "matrix(%s)"))))
(defn apply-transform
[attrs]
(let [transform (calculate-transform attrs)]
(-> attrs
(without-keys [:rotation :width :height :x :y :view-box])
(assoc :transform transform))))