mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Small bug fix to Write
This commit is contained in:
parent
bbe79e0026
commit
c5aa330077
1 changed files with 2 additions and 2 deletions
|
@ -69,10 +69,10 @@ class DrawBorderThenFill(Animation):
|
|||
def get_outline(self):
|
||||
outline = self.mobject.copy()
|
||||
outline.set_fill(opacity=0)
|
||||
for sm in outline.family_members_with_points():
|
||||
for sm in outline.get_family():
|
||||
sm.set_stroke(
|
||||
color=self.get_stroke_color(sm),
|
||||
width=self.stroke_width
|
||||
width=float(self.stroke_width)
|
||||
)
|
||||
return outline
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue