mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 23:31:21 -05:00
🐛 Fixed persistent outline after editing
This commit is contained in:
parent
001f90a540
commit
b180d9e878
1 changed files with 4 additions and 1 deletions
|
@ -511,7 +511,10 @@
|
|||
(ptk/reify ::clear-edition-mode
|
||||
ptk/UpdateEvent
|
||||
(update [_ state]
|
||||
(update state :workspace-local dissoc :edition))))
|
||||
(let [id (get-in state [:workspace-local :edition])]
|
||||
(-> state
|
||||
(update-in [:workspace-local :hover] disj id)
|
||||
(update :workspace-local dissoc :edition))))))
|
||||
|
||||
|
||||
(defn add-shape
|
||||
|
|
Loading…
Add table
Reference in a new issue