mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Updated arrange_in_grid
This commit is contained in:
parent
e7a60c6c85
commit
960e4e13eb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue