mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Backport some fixes from staging
This commit is contained in:
parent
45f9d5bb81
commit
4ee2ca2a33
@ -726,9 +726,9 @@
|
||||
(ptk/reify ::delete-selected
|
||||
ptk/WatchEvent
|
||||
(watch [_ state _]
|
||||
(let [selected (wsh/lookup-selected state)
|
||||
(let [selected (wsh/lookup-selected state)
|
||||
hover-guides (get-in state [:workspace-guides :hover])
|
||||
options-mode (get-in state [:workspace-local :options-mode])]
|
||||
options-mode (get-in state [:workspace-global :options-mode])]
|
||||
(cond
|
||||
(and (= options-mode :prototype) (d/not-empty? selected))
|
||||
(rx/of (dwi/remove-interactions selected))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user