mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fix error when using VFadeIn and its subclasses
This commit is contained in:
parent
f4737828f6
commit
7ea15a8bf9
1 changed files with 2 additions and 2 deletions
|
@ -164,10 +164,10 @@ class VFadeIn(Animation):
|
||||||
alpha: float
|
alpha: float
|
||||||
) -> None:
|
) -> None:
|
||||||
submob.set_stroke(
|
submob.set_stroke(
|
||||||
opacity=interpolate(0, start.get_stroke_opacity(), alpha)
|
opacity=float(interpolate(0, start.get_stroke_opacity(), alpha))
|
||||||
)
|
)
|
||||||
submob.set_fill(
|
submob.set_fill(
|
||||||
opacity=interpolate(0, start.get_fill_opacity(), alpha)
|
opacity=float(interpolate(0, start.get_fill_opacity(), alpha))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue