mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 19:58:09 +00:00
🐛 [Prototype] Prototype mode should not allow edits
This commit is contained in:
parent
d2590c7651
commit
2fc4c30bed
@ -755,7 +755,7 @@
|
||||
(watch [_ state _]
|
||||
(let [selected (wsh/lookup-selected state)
|
||||
hover-guides (get-in state [:workspace-guides :hover])
|
||||
options-mode (get-in state [:workspace-global :options-mode])]
|
||||
options-mode (get-in state [:workspace-local :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