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:
parent
bfd99ebb8f
commit
8245ea0bdc
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
[]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue