Small bug fix to Write

This commit is contained in:
Grant Sanderson 2021-01-13 00:07:58 -10:00
parent bbe79e0026
commit c5aa330077

View file

@ -69,10 +69,10 @@ class DrawBorderThenFill(Animation):
def get_outline(self): def get_outline(self):
outline = self.mobject.copy() outline = self.mobject.copy()
outline.set_fill(opacity=0) outline.set_fill(opacity=0)
for sm in outline.family_members_with_points(): for sm in outline.get_family():
sm.set_stroke( sm.set_stroke(
color=self.get_stroke_color(sm), color=self.get_stroke_color(sm),
width=self.stroke_width width=float(self.stroke_width)
) )
return outline return outline