mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 07:58:49 -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
|
[:g
|
||||||
(when mask
|
(when mask
|
||||||
[:defs
|
[:defs
|
||||||
[:mask {:id (:id mask)}
|
[:mask {:id (:id mask)
|
||||||
|
:width width
|
||||||
|
:height height}
|
||||||
[:& shape-wrapper {:frame frame
|
[:& shape-wrapper {:frame frame
|
||||||
:shape mask}]]])
|
:shape mask}]]])
|
||||||
[:& (mf/provider mask-id-ctx) {:value (str/fmt "url(#%s)" (:id mask))}
|
[:& (mf/provider mask-id-ctx) {:value (str/fmt "url(#%s)" (:id mask))}
|
||||||
|
|
Loading…
Add table
Reference in a new issue