mirror of
https://github.com/penpot/penpot.git
synced 2025-02-24 07:46:13 -05:00
🐛 Fixing texts with multiple strokes and fills
This commit is contained in:
parent
cf09ff8dc3
commit
d6820a69d4
2 changed files with 2 additions and 2 deletions
|
@ -329,7 +329,6 @@
|
|||
|
||||
props (cond
|
||||
(and last-stroke? url-fill?)
|
||||
;; TODO: check this zero
|
||||
(obj/set! props "fill" (str "url(#fill-0-" render-id ")"))
|
||||
|
||||
(and last-stroke? one-fill?)
|
||||
|
|
|
@ -59,7 +59,8 @@
|
|||
:fontStyle (:font-style data)
|
||||
:direction (if (:rtl data) "rtl" "ltr")
|
||||
:whiteSpace "pre"}
|
||||
(obj/set! "fill" (str "url(#fill-" index "-" render-id ")")))})]
|
||||
(obj/set! "fill" (str "url(#fill-" index "-" render-id ")")))})
|
||||
shape (assoc shape :fills (:fills data))]
|
||||
[:& shape-custom-strokes {:shape shape}
|
||||
[:> :text props (:text data)]]))]]))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue