🐛 Fix unmasking shapes (#7989)

This commit is contained in:
Alejandro Alonso
2025-12-22 16:59:04 +01:00
committed by GitHub
parent 923c3c2dbd
commit 737eceda3a
2 changed files with 4 additions and 4 deletions

View File

@@ -964,8 +964,8 @@
(set-shape-children children)
(set-shape-corners corners)
(set-shape-blur blur)
(when (and (= type :group) masked)
(set-masked masked))
(when (= type :group)
(set-masked (boolean masked)))
(when (= type :bool)
(set-shape-bool-type bool-type))
(when (and (some? content)

View File

@@ -233,8 +233,8 @@
(api/set-shape-shadows (:shadow shape)))
:masked-group
(when (cfh/mask-shape? shape)
(api/set-masked (:masked-group shape)))
(when (cfh/group-shape? shape)
(api/set-masked (boolean (:masked-group shape))))
:content
(cond