mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 06:31:39 +02:00
🔥 Remove some unused code
This commit is contained in:
parent
ddf0e75a11
commit
1f92237b19
1 changed files with 0 additions and 15 deletions
|
@ -1053,21 +1053,6 @@
|
||||||
(rx/of (dwt/set-modifiers [id] {:displacement displ})
|
(rx/of (dwt/set-modifiers [id] {:displacement displ})
|
||||||
(dwt/apply-modifiers [id]))))))
|
(dwt/apply-modifiers [id]))))))
|
||||||
|
|
||||||
;; --- Shape attrs (Layers Sidebar)
|
|
||||||
|
|
||||||
(defn toggle-collapse
|
|
||||||
[id]
|
|
||||||
(ptk/reify ::toggle-collapse
|
|
||||||
ptk/UpdateEvent
|
|
||||||
(update [_ state]
|
|
||||||
(update-in state [:workspace-local :expanded id] not))))
|
|
||||||
|
|
||||||
(def collapse-all
|
|
||||||
(ptk/reify ::collapse-all
|
|
||||||
ptk/UpdateEvent
|
|
||||||
(update [_ state]
|
|
||||||
(update state :workspace-local dissoc :expanded))))
|
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; Navigation
|
;; Navigation
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue