mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 10:11:40 +02:00
🔧 Fix wrong code in merge
This commit is contained in:
parent
5fee74cea8
commit
b4440aad04
14 changed files with 16 additions and 887 deletions
|
@ -401,7 +401,7 @@
|
|||
(update :redo-changes conj add-change)
|
||||
(cond->
|
||||
(and (ctk/in-component-copy? parent) (not ignore-touched))
|
||||
(update :undo-changes conj restore-touched-change))
|
||||
(update :undo-changes conj restore-touched-change))
|
||||
(update :undo-changes conj del-change)
|
||||
(apply-changes-local)))))
|
||||
|
||||
|
@ -462,7 +462,7 @@
|
|||
(update :redo-changes conj set-parent-change)
|
||||
(cond->
|
||||
(ctk/in-component-copy? parent)
|
||||
(update :undo-changes conj restore-touched-change))
|
||||
(update :undo-changes conj restore-touched-change))
|
||||
(update :undo-changes #(reduce mk-undo-change % shapes))
|
||||
(apply-changes-local)))))
|
||||
|
||||
|
|
|
@ -128,9 +128,9 @@
|
|||
|
||||
(sm/register! ::dimensions
|
||||
(merge-schemas ::sizing
|
||||
::spacing
|
||||
::stroke-width
|
||||
::border-radius))
|
||||
::spacing
|
||||
::stroke-width
|
||||
::border-radius))
|
||||
|
||||
(def dimensions-keys (schema-keys ::dimensions))
|
||||
|
||||
|
@ -145,8 +145,8 @@
|
|||
|
||||
(sm/register! ::applied-tokens
|
||||
(merge-schemas ::tokens
|
||||
::border-radius
|
||||
::sizing
|
||||
::spacing
|
||||
::rotation
|
||||
::dimensions))
|
||||
::border-radius
|
||||
::sizing
|
||||
::spacing
|
||||
::rotation
|
||||
::dimensions))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue