0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 07:29:08 -05:00

Remove unused code.

This commit is contained in:
Andrey Antukh 2017-03-01 20:08:49 +01:00
parent bfd99ebb8f
commit 8245ea0bdc
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
2 changed files with 2 additions and 4 deletions

View file

@ -585,10 +585,8 @@
ptk/UpdateEvent
(update [_ state]
(let [pid (get-in state [:workspace :page])
used-names (map #(get-in state [:shapes % :name])
(get-in state [:pages pid :shapes]))
selected (get-in state [:workspace :selected])]
(impl/group-shapes state selected used-names pid)))))
(impl/group-shapes state selected pid)))))
(defn degroup-selected
[]

View file

@ -310,7 +310,7 @@
(reduce match #{} (sequence xf shapes))))
(defn group-shapes
[state shapes used-names page]
[state shapes page]
(letfn [(replace-first-item [pred coll replacement]
(into []
(concat