From 66f7d35510ce517a8950e6d534933d1895a557fd Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Thu, 5 May 2022 17:21:28 +0200 Subject: [PATCH] :bug: Fix problem with multi-line text and strokes --- frontend/src/app/main/ui/shapes/text/svg_text.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/shapes/text/svg_text.cljs b/frontend/src/app/main/ui/shapes/text/svg_text.cljs index 7d2cc1b614..c13f048e6f 100644 --- a/frontend/src/app/main/ui/shapes/text/svg_text.cljs +++ b/frontend/src/app/main/ui/shapes/text/svg_text.cljs @@ -89,5 +89,6 @@ (obj/set! "fill" (str "url(#fill-" index "-" render-id ")")))}) shape (assoc shape :fills (:fills data))] - [:& shape-custom-strokes {:shape shape :key index} - [:> :text props (:text data)]]))]])) + [:& (mf/provider muc/render-ctx) {:value (str render-id "_" (:id shape) "_" index)} + [:& shape-custom-strokes {:shape shape :key index} + [:> :text props (:text data)]]]))]]))