Skip to content

Commit

Permalink
Default to center the list
Browse files Browse the repository at this point in the history
  • Loading branch information
lucmos committed Apr 3, 2024
1 parent 06494cf commit 1195097
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/powermanim/templates/bulletlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,16 @@ def __init__(
scale_active: The scale of the active items.
anim_lag_ratio: The animation lag ratio.
"""
self.arranged_list = ArrangedBullets(
*rows,
line_spacing=line_spacing,
line_spacing_decay=line_spacing_decay,
indent_buff=indent_buff,
).to_edge(LEFT, MED_LARGE_BUFF * 2)
self.arranged_list = (
ArrangedBullets(
*rows,
line_spacing=line_spacing,
line_spacing_decay=line_spacing_decay,
indent_buff=indent_buff,
)
.move_to(ORIGIN)
.to_edge(LEFT, MED_LARGE_BUFF * 2)
)

super().__init__(
*(
Expand Down

0 comments on commit 1195097

Please sign in to comment.