mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix color gradient on text positioned incorrectly (#6253)
Some checks are pending
Commit Message Check / Check Commit Message (push) Waiting to run
Some checks are pending
Commit Message Check / Check Commit Message (push) Waiting to run
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user