mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
Updated arrange_in_grid
This commit is contained in:
@ -1029,7 +1029,7 @@ class Mobject(Container):
|
||||
y_unit = buff + max([sm.get_height() for sm in submobs])
|
||||
|
||||
for index, sm in enumerate(submobs):
|
||||
if rows_first:
|
||||
if fill_rows_first:
|
||||
x, y = index % n_cols, index // n_cols
|
||||
else:
|
||||
x, y = index // n_rows, index % n_rows
|
||||
|
Reference in New Issue
Block a user