🐛 Fix problem with opacity in frames

This commit is contained in:
alonso.torres 2023-02-14 17:54:23 +01:00
parent 094556926e
commit 02543b1a4f
2 changed files with 5 additions and 5 deletions

View file

@ -3,6 +3,7 @@
### :bug: Bugs fixed ### :bug: Bugs fixed
- Fix invite members button text [Taiga #4794](https://tree.taiga.io/project/penpot/issue/4794) - Fix invite members button text [Taiga #4794](https://tree.taiga.io/project/penpot/issue/4794)
- Fix problem with opacity in frames [Taiga #4795](https://tree.taiga.io/project/penpot/issue/4795)
## 1.17.2 ## 1.17.2

View file

@ -124,11 +124,10 @@
(mf/fnc frame-shape (mf/fnc frame-shape
{::mf/wrap-props false} {::mf/wrap-props false}
[props] [props]
(let [shape (unchecked-get props "shape")
(let [childs (unchecked-get props "childs")] childs (unchecked-get props "childs")]
[:> frame-container props [:> frame-container props
[:g.frame-children [:g.frame-children {:opacity (:opacity shape)}
(for [item childs] (for [item childs]
[:& shape-wrapper {:key (dm/str (:id item)) :shape item}] [:& shape-wrapper {:key (dm/str (:id item)) :shape item}])]])))
)]])))