0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-07 15:39:42 -05:00

🐛 Fix problem with shadow negative spread

This commit is contained in:
alonso.torres 2024-03-06 17:08:57 +01:00
parent 2031e513ed
commit 0db24dc7ec
2 changed files with 7 additions and 0 deletions

View file

@ -125,6 +125,7 @@
- [VIEWER] Cannot scroll down in code </> mode [Taiga #4655](https://tree.taiga.io/project/penpot/issue/4655)
- Strange cursor behavior after clicking viewport with text tool [Taiga #4363](https://tree.taiga.io/project/penpot/issue/4363)
- Selected color affects all of them [Taiga #5285](https://tree.taiga.io/project/penpot/issue/5285)
- Fix problem with shadow negative spread [Github #3421](https://github.com/penpot/penpot/issues/3421)
## 1.19.5

View file

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