mirror of
https://github.com/penpot/penpot.git
synced 2026-05-28 19:33:45 +00:00
🐛 Fix unmasking shapes (#7989)
This commit is contained in:
parent
c7b47f5d98
commit
44df4aca48
@ -964,8 +964,8 @@
|
|||||||
(set-shape-children children)
|
(set-shape-children children)
|
||||||
(set-shape-corners corners)
|
(set-shape-corners corners)
|
||||||
(set-shape-blur blur)
|
(set-shape-blur blur)
|
||||||
(when (and (= type :group) masked)
|
(when (= type :group)
|
||||||
(set-masked masked))
|
(set-masked (boolean masked)))
|
||||||
(when (= type :bool)
|
(when (= type :bool)
|
||||||
(set-shape-bool-type bool-type))
|
(set-shape-bool-type bool-type))
|
||||||
(when (and (some? content)
|
(when (and (some? content)
|
||||||
|
|||||||
@ -233,8 +233,8 @@
|
|||||||
(api/set-shape-shadows (:shadow shape)))
|
(api/set-shape-shadows (:shadow shape)))
|
||||||
|
|
||||||
:masked-group
|
:masked-group
|
||||||
(when (cfh/mask-shape? shape)
|
(when (cfh/group-shape? shape)
|
||||||
(api/set-masked (:masked-group shape)))
|
(api/set-masked (boolean (:masked-group shape))))
|
||||||
|
|
||||||
:content
|
:content
|
||||||
(cond
|
(cond
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user