From 5376c4aa23785c75f72cb6beb23d701f934a1c9b Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Mon, 29 Aug 2022 12:02:31 +0200 Subject: [PATCH] :bug: Fix Shadows doesn't work on nested artboards --- CHANGES.md | 8 ++++++++ frontend/src/app/main/ui/workspace/shapes/frame.cljs | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index c4cd604ba..0dab13014 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,13 @@ # CHANGELOG + +## 1.15.1-beta + +### :bug: Bugs fixed + +- Fix shadows doesn't work on nested artboards [Taiga #3886](https://tree.taiga.io/project/penpot/issue/3886) + + ## 1.15.0-beta ### :boom: Breaking changes & Deprecations diff --git a/frontend/src/app/main/ui/workspace/shapes/frame.cljs b/frontend/src/app/main/ui/workspace/shapes/frame.cljs index 420eaaa44..2cacfc13d 100644 --- a/frontend/src/app/main/ui/workspace/shapes/frame.cljs +++ b/frontend/src/app/main/ui/workspace/shapes/frame.cljs @@ -40,7 +40,7 @@ childs (mf/deref childs-ref)] [:& (mf/provider embed/context) {:value true} - [:& shape-container {:shape shape :ref ref :disable-shadows? true} + [:& shape-container {:shape shape :ref ref :disable-shadows? (cph/root-frame? shape)} [:& frame-shape {:shape shape :childs childs} ]]])))) (defn check-props