mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 21:56:13 +02: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/reify ::delete-selected
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ state _]
|
(watch [_ state _]
|
||||||
(let [selected (wsh/lookup-selected state)
|
(let [selected (wsh/lookup-selected state)
|
||||||
hover-guides (get-in state [:workspace-guides :hover])
|
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
|
(cond
|
||||||
(and (= options-mode :prototype) (d/not-empty? selected))
|
(and (= options-mode :prototype) (d/not-empty? selected))
|
||||||
(rx/of (dwi/remove-interactions selected))
|
(rx/of (dwi/remove-interactions selected))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue