mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 00:36:37 +02:00
🐛 Fix problem with stroke in multi-paragraph texts
This commit is contained in:
parent
54db163cd8
commit
58f9b2a4e8
1 changed files with 4 additions and 1 deletions
|
@ -97,7 +97,10 @@
|
||||||
(obj/set! "fill" (str "url(#fill-" index "-" render-id ")")))}
|
(obj/set! "fill" (str "url(#fill-" index "-" render-id ")")))}
|
||||||
(cond-> browser-props
|
(cond-> browser-props
|
||||||
(obj/merge! browser-props)))
|
(obj/merge! browser-props)))
|
||||||
shape (assoc shape :fills (:fills data))]
|
shape (assoc shape :fills (:fills data))
|
||||||
|
|
||||||
|
;; Need to create new render-id per text-block
|
||||||
|
render-id (dm/str render-id "-" index)]
|
||||||
|
|
||||||
[:& (mf/provider muc/render-id) {:key index :value render-id}
|
[:& (mf/provider muc/render-id) {:key index :value render-id}
|
||||||
[:& shape-custom-strokes {:shape shape :position index :render-id render-id}
|
[:& shape-custom-strokes {:shape shape :position index :render-id render-id}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue