From 0a3b244f4490144c1ae0a2d175b1df908fdce1ef Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Fri, 26 Mar 2021 09:57:00 +0100 Subject: [PATCH] :bug: Fix problem with blending modes in masks --- CHANGES.md | 1 + frontend/src/app/main/ui/shapes/group.cljs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 74db778f7f..20f76d4376 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -52,6 +52,7 @@ - Fix problem with enter key shortcut [#775](https://github.com/penpot/penpot/issues/775) - Updates worksans font [#744](https://github.com/penpot/penpot/issues/744) - Fix problem with team management in dashboard [Taiga #1475](https://tree.taiga.io/project/penpot/issue/1475) +- Fix problem with blending modes in masks [Taiga #1476](https://tree.taiga.io/project/penpot/issue/1476) ### :arrow_up: Deps updates diff --git a/frontend/src/app/main/ui/shapes/group.cljs b/frontend/src/app/main/ui/shapes/group.cljs index 22a877b31a..30d790ffd5 100644 --- a/frontend/src/app/main/ui/shapes/group.cljs +++ b/frontend/src/app/main/ui/shapes/group.cljs @@ -41,8 +41,8 @@ props (-> (attrs/extract-style-attrs shape))] - [:> mask-wrapper mask-props - [:> :g (attrs/extract-style-attrs shape) + [:> :g (attrs/extract-style-attrs shape) + [:> mask-wrapper mask-props (when mask [:> render-mask #js {:frame frame :mask mask}])