mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -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]})
|
||||
;; We've applied the text-modifier so we can dissoc the temporary data
|
||||
(fn [state]
|
||||
(update state :workspace-text-modifier #(apply dissoc % ids)))
|
||||
(clear-local-transform))
|
||||
(update state :workspace-text-modifier #(apply dissoc % ids))))
|
||||
(if (nil? modifiers)
|
||||
(rx/of (clear-local-transform))
|
||||
(rx/empty))
|
||||
(if undo-transation?
|
||||
(rx/of (dwu/commit-undo-transaction undo-id))
|
||||
(rx/empty))))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue