🐛 Fix color gradient on text positioned incorrectly (#6253)

This commit is contained in:
Aitor Moreno 2025-04-11 11:36:31 +02:00 committed by GitHub
parent ee5596067e
commit 87650de9bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -21,6 +21,7 @@
- Fix view mode error when an external user tries to export something from a prototype using a shared link [Taiga #10251](https://tree.taiga.io/project/penpot/issue/10251)
- Fix merge path nodes with only one node selected [Taiga #9626](https://tree.taiga.io/project/penpot/issue/9626)
- Fix problem with import errors [Taiga #10040](https://tree.taiga.io/project/penpot/issue/10040)
- Fix color gradient on texts [Taiga Issue #7488](https://tree.taiga.io/project/penpot/issue/7488)
## 2.6.1

View file

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