mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 15:39:50 -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)
|
||||||
shape (dissoc shape ::initialized? :modifier-mtx)]
|
shape (dissoc shape ::initialized? :modifier-mtx)]
|
||||||
;; Add & select the created shape to the workspace
|
;; 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
|
(def close-drawing-path
|
||||||
(ptk/reify ::close-drawing-path
|
(ptk/reify ::close-drawing-path
|
||||||
|
|
Loading…
Add table
Reference in a new issue