0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🐛 Fixes masks in Firefox

This commit is contained in:
alonso.torres 2021-01-13 12:37:25 +01:00 committed by Andrey Antukh
parent 79fc3cbf12
commit 60e2abde1b

View file

@ -24,8 +24,9 @@
mask (unchecked-get props "mask")]
[:defs
[:filter {:id (str (:id mask) "-filter")}
[:feFlood {:flood-color "white"}]
[:feComposite {:in "BackgroundImage"
[:feFlood {:flood-color "white"
:result "FloodResult"}]
[:feComposite {:in "FloodResult"
:in2 "SourceGraphic"
:operator "in"
:result "comp"}]]