mirror of
https://github.com/penpot/penpot.git
synced 2025-05-23 13:56:40 +02:00
🐛 Fix problem with shadow negative spread
This commit is contained in:
parent
2031e513ed
commit
0db24dc7ec
2 changed files with 7 additions and 0 deletions
|
@ -45,6 +45,12 @@
|
|||
:in "SourceAlpha"
|
||||
:result filter-id}])
|
||||
|
||||
(when (< spread 0)
|
||||
[:feMorphology {:radius (- spread)
|
||||
:operator "erode"
|
||||
:in "SourceAlpha"
|
||||
:result filter-id}])
|
||||
|
||||
[:feOffset {:dx offset-x :dy offset-y}]
|
||||
[:feGaussianBlur {:stdDeviation (/ blur 2)}]
|
||||
[:& color-matrix {:color color}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue