mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 01:06:13 +02:00
Merge pull request #5639 from penpot/superalex-fix-shadows-order
🐛 Fix shadows order
This commit is contained in:
commit
361644b62c
3 changed files with 17 additions and 3 deletions
|
@ -161,7 +161,8 @@
|
|||
(mf/defc filters
|
||||
[{:keys [filter-id shape]}]
|
||||
|
||||
(let [filters (-> shape gsb/shape->filters change-filter-in)
|
||||
(let [shape' (update shape :shadow reverse)
|
||||
filters (-> shape' gsb/shape->filters change-filter-in)
|
||||
bounds (gsb/get-rect-filter-bounds (:selrect shape) filters (or (-> shape :blur :value) 0))
|
||||
padding (gsb/calculate-padding shape)
|
||||
selrect (:selrect shape)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue