mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 11:31:39 +02: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/reify ::clear-edition-mode
|
||||||
ptk/UpdateEvent
|
ptk/UpdateEvent
|
||||||
(update [_ state]
|
(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
|
(defn add-shape
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue