🐛 Fix prop creation on variants move layer

This commit is contained in:
Pablo Alba 2025-09-02 09:43:47 +02:00 committed by Pablo Alba
parent 1da69cfa38
commit 796aaed11e
1 changed files with 2 additions and 2 deletions

View File

@ -146,8 +146,8 @@
(defn- create-new-properties-from-variant
[shape min-props data container-name base-properties]
(let [component (ctcl/get-component data (:component-id shape) true)
add-name? (not= (:name component) container-name)
component-full-name (cfh/merge-path-item (:path component) (:name component))
add-name? (not= component-full-name container-name)
props (ctv/merge-properties base-properties
(:variant-properties component))
new-props (- min-props