mirror of
https://github.com/penpot/penpot.git
synced 2025-05-30 10:36:12 +02:00
🐛 Fix color gradient on text positioned incorrectly (#6253)
This commit is contained in:
parent
ee5596067e
commit
87650de9bc
2 changed files with 4 additions and 3 deletions
|
@ -61,9 +61,9 @@
|
|||
embed (embed/use-data-uris uris)
|
||||
transform (gsh/transform-str shape)
|
||||
|
||||
pat-props #js {:patternUnits "userSpaceOnUse"
|
||||
:x x
|
||||
:y y
|
||||
pat-props #js {:patternUnits (if (= :text type) "objectBoundingBox" "userSpaceOnUse")
|
||||
:x (when-not (= :text type) x)
|
||||
:y (when-not (= :text type) y)
|
||||
:width width
|
||||
:height height}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue