mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
🐛 Fix masking of texts shapes (within a foreignObject element)
This commit is contained in:
parent
4be7f054b7
commit
ccba95f541
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@
|
|||
[:g
|
||||
(when mask
|
||||
[:defs
|
||||
[:mask {:id (:id mask)}
|
||||
[:mask {:id (:id mask)
|
||||
:width width
|
||||
:height height}
|
||||
[:& shape-wrapper {:frame frame
|
||||
:shape mask}]]])
|
||||
[:& (mf/provider mask-id-ctx) {:value (str/fmt "url(#%s)" (:id mask))}
|
||||
|
|
Loading…
Reference in a new issue