mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 22:53:02 +00:00
🐛 Fix prop creation on variants move layer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user