mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Changed patron name ordering
This commit is contained in:
parent
0e1da5ef28
commit
13193d209e
1 changed files with 3 additions and 3 deletions
|
@ -189,7 +189,6 @@ class PatreonEndScreen(PatreonThanks, PiCreatureScene):
|
||||||
def scroll_through_patrons(self):
|
def scroll_through_patrons(self):
|
||||||
logo_box = Square(side_length=2.5)
|
logo_box = Square(side_length=2.5)
|
||||||
logo_box.to_corner(DOWN + LEFT, buff=MED_LARGE_BUFF)
|
logo_box.to_corner(DOWN + LEFT, buff=MED_LARGE_BUFF)
|
||||||
total_width = FRAME_X_RADIUS - logo_box.get_right()[0]
|
|
||||||
|
|
||||||
black_rect = Rectangle(
|
black_rect = Rectangle(
|
||||||
fill_color=BLACK,
|
fill_color=BLACK,
|
||||||
|
@ -213,10 +212,11 @@ class PatreonEndScreen(PatreonThanks, PiCreatureScene):
|
||||||
underline.next_to(thanks, DOWN, SMALL_BUFF)
|
underline.next_to(thanks, DOWN, SMALL_BUFF)
|
||||||
thanks.add(underline)
|
thanks.add(underline)
|
||||||
|
|
||||||
changed_patron_names = map(
|
changed_patron_names = list(map(
|
||||||
self.modify_patron_name,
|
self.modify_patron_name,
|
||||||
self.specific_patrons,
|
self.specific_patrons,
|
||||||
)
|
))
|
||||||
|
changed_patron_names.sort()
|
||||||
patrons = VGroup(*map(
|
patrons = VGroup(*map(
|
||||||
TextMobject,
|
TextMobject,
|
||||||
changed_patron_names,
|
changed_patron_names,
|
||||||
|
|
Loading…
Add table
Reference in a new issue