mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 17:00:36 -05:00
🐛 Backport some fixes from staging
This commit is contained in:
parent
45f9d5bb81
commit
4ee2ca2a33
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue