mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 02:35:22 +08:00
Some cleanup on eoc1
This commit is contained in:
@ -125,8 +125,10 @@ class PatreonThanks(Scene):
|
||||
patrons.to_edge(UP, buff = MED_SMALL_BUFF)
|
||||
|
||||
shift_distance = max(
|
||||
0, 1-SPACE_HEIGHT-all_patrons.get_bottom()[1]
|
||||
0, (all_patrons.get_height() - 2*SPACE_HEIGHT)
|
||||
)
|
||||
if shift_distance > 0:
|
||||
shift_distance += 1
|
||||
velocity = shift_distance/9.0
|
||||
def get_shift_anim():
|
||||
return ApplyMethod(
|
||||
|
Reference in New Issue
Block a user