mirror of
https://github.com/3b1b/manim.git
synced 2026-04-26 03:00:23 -04:00
Make VFadeIn work on alpha of stroke
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user