From 9af23415a22836b8490c2f9d6b7a092aef1b8d67 Mon Sep 17 00:00:00 2001 From: TonyCrane Date: Wed, 26 Jan 2022 20:20:48 +0800 Subject: [PATCH] synchronize SingleStringTex's color to SVGMobject --- manimlib/mobject/svg/tex_mobject.py | 1 + 1 file changed, 1 insertion(+) diff --git a/manimlib/mobject/svg/tex_mobject.py b/manimlib/mobject/svg/tex_mobject.py index ce239f49..e51029e8 100644 --- a/manimlib/mobject/svg/tex_mobject.py +++ b/manimlib/mobject/svg/tex_mobject.py @@ -42,6 +42,7 @@ class SingleStringTex(VMobject): svg_mob = SVGMobject( filename, height=None, + color=self.color, stroke_width=self.stroke_width, path_string_config={ "should_subdivide_sharp_curves": True,