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")] mask (unchecked-get props "mask")]
[:defs [:defs
[:filter {:id (str (:id mask) "-filter")} [:filter {:id (str (:id mask) "-filter")}
[:feFlood {:flood-color "white"}] [:feFlood {:flood-color "white"
[:feComposite {:in "BackgroundImage" :result "FloodResult"}]
[:feComposite {:in "FloodResult"
:in2 "SourceGraphic" :in2 "SourceGraphic"
:operator "in" :operator "in"
:result "comp"}]] :result "comp"}]]