mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 16:30:37 -05:00
🐛 Deselect all shapes when new shape is inserted.
This commit is contained in:
parent
fee2eea87c
commit
0cb6ecadb6
1 changed files with 2 additions and 1 deletions
|
@ -281,7 +281,8 @@
|
|||
shape)
|
||||
shape (dissoc shape ::initialized? :modifier-mtx)]
|
||||
;; Add & select the created shape to the workspace
|
||||
(rx/of (dw/add-shape shape)))))))))
|
||||
(rx/of dw/deselect-all
|
||||
(dw/add-shape shape)))))))))
|
||||
|
||||
(def close-drawing-path
|
||||
(ptk/reify ::close-drawing-path
|
||||
|
|
Loading…
Reference in a new issue