mirror of
https://github.com/penpot/penpot.git
synced 2025-02-04 13:29:14 -05:00
🐛 Fix duplicate shapes with alt key
This commit is contained in:
parent
3b5b81b08f
commit
686f59b0de
1 changed files with 4 additions and 2 deletions
|
@ -559,8 +559,10 @@
|
||||||
:layout-grid-rows]})
|
:layout-grid-rows]})
|
||||||
;; We've applied the text-modifier so we can dissoc the temporary data
|
;; We've applied the text-modifier so we can dissoc the temporary data
|
||||||
(fn [state]
|
(fn [state]
|
||||||
(update state :workspace-text-modifier #(apply dissoc % ids)))
|
(update state :workspace-text-modifier #(apply dissoc % ids))))
|
||||||
(clear-local-transform))
|
(if (nil? modifiers)
|
||||||
|
(rx/of (clear-local-transform))
|
||||||
|
(rx/empty))
|
||||||
(if undo-transation?
|
(if undo-transation?
|
||||||
(rx/of (dwu/commit-undo-transaction undo-id))
|
(rx/of (dwu/commit-undo-transaction undo-id))
|
||||||
(rx/empty))))))))
|
(rx/empty))))))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue