Some cleanup on eoc1

This commit is contained in:
Grant Sanderson
2017-04-10 15:15:45 -07:00
parent 967fb7e5c1
commit e40c5b86bd
2 changed files with 15 additions and 7 deletions

View File

@ -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(