We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 115dc1c commit 3c7c210Copy full SHA for 3c7c210
manim/animation/creation.py
@@ -388,9 +388,8 @@ def _adjust_stroke_width_for_text(
388
return stroke_width
389
if not isinstance(vmobject, SVGMobject):
390
return 2.0 # default in DrawBorderThenFill
391
- # font_size = getattr(vmobject, "font_size", DEFAULT_FONT_SIZE)
392
- # return (font_size / DEFAULT_FONT_SIZE) * DEFAULT_STROKE_WIDTH * scale_factor
393
- return 2
+ font_size = getattr(vmobject, "font_size", DEFAULT_FONT_SIZE)
+ return (font_size / DEFAULT_FONT_SIZE) * DEFAULT_STROKE_WIDTH * scale_factor
394
395
def reverse_submobjects(self) -> None:
396
self.mobject.invert(recursive=True)
0 commit comments