synchronize SingleStringTex's color to SVGMobject

This commit is contained in:
TonyCrane 2022-01-26 20:20:48 +08:00
parent 19778e405a
commit 9af23415a2
No known key found for this signature in database
GPG key ID: 2313A5058A9C637C

View file

@ -42,6 +42,7 @@ class SingleStringTex(VMobject):
svg_mob = SVGMobject( svg_mob = SVGMobject(
filename, filename,
height=None, height=None,
color=self.color,
stroke_width=self.stroke_width, stroke_width=self.stroke_width,
path_string_config={ path_string_config={
"should_subdivide_sharp_curves": True, "should_subdivide_sharp_curves": True,