mirror of
https://github.com/penpot/penpot.git
synced 2025-03-05 20:31:20 -05:00
🐛 Fix add variant menu inside a variant
This commit is contained in:
parent
8eb2aaa0a8
commit
44f1798dce
1 changed files with 3 additions and 1 deletions
|
@ -417,7 +417,9 @@
|
|||
|
||||
do-add-variant
|
||||
#(when variants?
|
||||
(st/emit! (dwv/transform-in-variant id)))
|
||||
(if (ctk/is-variant? shape)
|
||||
(st/emit! (dwv/add-new-variant id))
|
||||
(st/emit! (dwv/transform-in-variant id))))
|
||||
|
||||
do-show-local-component
|
||||
#(st/emit! (dwl/go-to-local-component :id component-id))
|
||||
|
|
Loading…
Add table
Reference in a new issue