mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
Merge 0555a69012 into 0e83f4b09a
This commit is contained in:
commit
5fb9ac4819
1 changed files with 5 additions and 0 deletions
|
|
@ -373,6 +373,11 @@ class SVGMobject(VMobject, metaclass=ConvertToOpenGL):
|
|||
shape
|
||||
The parsed SVG element.
|
||||
"""
|
||||
if shape.stroke.hexrgb is not None and (
|
||||
shape.stroke_width is None or shape.stroke_width == 0.0
|
||||
):
|
||||
shape.stroke_width = 1.0
|
||||
|
||||
mob.set_style(
|
||||
stroke_width=shape.stroke_width,
|
||||
stroke_color=shape.stroke.hexrgb,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue