mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 21:19:49 +00:00
🐛 Deselect all shapes when new shape is inserted.
This commit is contained in:
parent
fee2eea87c
commit
0cb6ecadb6
@ -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…
x
Reference in New Issue
Block a user