From 535522d86b9f35e41de14da52aaed3e12e6e5b0b Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Sat, 11 Aug 2018 23:34:58 -0700 Subject: [PATCH] Make VFadeIn work on alpha of stroke --- animation/creation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/animation/creation.py b/animation/creation.py index 8b5fa69e..fb551ac8 100644 --- a/animation/creation.py +++ b/animation/creation.py @@ -199,7 +199,7 @@ class VFadeIn(Animation): """ def update_submobject(self, submobject, starting_submobject, alpha): submobject.set_stroke( - width=interpolate(0, starting_submobject.get_stroke_width(), alpha) + opacity=interpolate(0, starting_submobject.get_stroke_opacity(), alpha) ) submobject.set_fill( opacity=interpolate(0, starting_submobject.get_fill_opacity(), alpha)