mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 04:59:25 +00:00
Open element options when shape is selected.
This commit is contained in:
parent
6f92604d87
commit
20e89cb8a7
@ -341,10 +341,11 @@
|
|||||||
(reify
|
(reify
|
||||||
rs/UpdateEvent
|
rs/UpdateEvent
|
||||||
(-apply-update [_ state]
|
(-apply-update [_ state]
|
||||||
(let [selected (get-in state [:workspace :selected])]
|
(let [selected (get-in state [:workspace :selected])
|
||||||
(if (contains? selected id)
|
state (if (contains? selected id)
|
||||||
(update-in state [:workspace :selected] disj id)
|
(update-in state [:workspace :selected] disj id)
|
||||||
(update-in state [:workspace :selected] conj id))))))
|
(update-in state [:workspace :selected] conj id))]
|
||||||
|
(update-in state [:workspace :flags] conj :element-options)))))
|
||||||
|
|
||||||
;; --- Select Shapes
|
;; --- Select Shapes
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user