🔧 Fix wrong code in merge

This commit is contained in:
Andrés Moya 2024-11-08 16:08:07 +01:00
parent 5fee74cea8
commit b4440aad04
14 changed files with 16 additions and 887 deletions

View file

@ -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)))))

View file

@ -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))