0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00

🐛 Fix masking of texts shapes (within a foreignObject element)

This commit is contained in:
Andrés Moya 2020-10-20 09:24:32 +02:00 committed by Alonso Torres
parent 4be7f054b7
commit ccba95f541

View file

@ -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))}