Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Changed patron name ordering

Grant Sanderson13193d209e44
diff --git a/manimlib/for_3b1b_videos/common_scenes.py b/manimlib/for_3b1b_videos/common_scenes.py
index baa5a2a5f..0eba0ab69 100644
--- a/manimlib/for_3b1b_videos/common_scenes.py
+++ b/manimlib/for_3b1b_videos/common_scenes.py
@@ -189,7 +189,6 @@ class PatreonEndScreen(PatreonThanks, PiCreatureScene):
def scroll_through_patrons(self):
logo_box = Square(side_length=2.5)
logo_box.to_corner(DOWN + LEFT, buff=MED_LARGE_BUFF)
- total_width = FRAME_X_RADIUS - logo_box.get_right()[0]
black_rect = Rectangle(
fill_color=BLACK,
@@ -213,10 +212,11 @@ class PatreonEndScreen(PatreonThanks, PiCreatureScene):
underline.next_to(thanks, DOWN, SMALL_BUFF)
thanks.add(underline)
- changed_patron_names = map(
+ changed_patron_names = list(map(
self.modify_patron_name,
self.specific_patrons,
- )
+ ))
+ changed_patron_names.sort()
patrons = VGroup(*map(
TextMobject,
changed_patron_names,