mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
🐛 [Prototype] Prototype mode should not allow edits
This commit is contained in:
parent
d2590c7651
commit
2fc4c30bed
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue