mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 07:16:11 +02:00
🐛 Fix problem with opacity in frames
This commit is contained in:
parent
094556926e
commit
02543b1a4f
2 changed files with 5 additions and 5 deletions
|
@ -124,11 +124,10 @@
|
|||
(mf/fnc frame-shape
|
||||
{::mf/wrap-props false}
|
||||
[props]
|
||||
|
||||
(let [childs (unchecked-get props "childs")]
|
||||
(let [shape (unchecked-get props "shape")
|
||||
childs (unchecked-get props "childs")]
|
||||
[:> frame-container props
|
||||
[:g.frame-children
|
||||
[:g.frame-children {:opacity (:opacity shape)}
|
||||
(for [item childs]
|
||||
[:& shape-wrapper {:key (dm/str (:id item)) :shape item}]
|
||||
)]])))
|
||||
[:& shape-wrapper {:key (dm/str (:id item)) :shape item}])]])))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue