Fix endscreen

This commit is contained in:
Grant Sanderson 2020-03-07 20:53:58 -08:00
parent 5a780dfde3
commit e8b0ecfede

View file

@ -183,7 +183,8 @@ class PatreonEndScreen(PatreonThanks, PiCreatureScene):
pi.change_mode("thinking")
pi.look(DOWN)
pi.next_to(title, vect, buff=MED_LARGE_BUFF)
self.add_foreground_mobjects(title, randy, morty)
self.add(title, randy, morty)
self.foreground = VGroup(title, randy, morty)
return self.pi_creatures
def scroll_through_patrons(self):
@ -256,7 +257,7 @@ class PatreonEndScreen(PatreonThanks, PiCreatureScene):
rate=(distance / wait_time)
)
self.add(columns, black_rect, line, thanks)
self.add(columns, black_rect, line, thanks, self.foreground)
self.wait(wait_time)
def modify_patron_name(self, name):