mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-27 09:50:52 -05:00
fix bug in Composites.stack when skipping bodies
This commit is contained in:
parent
998ab33c07
commit
b34669ed69
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ var Composites = {};
|
|||
|
||||
lastBody = body;
|
||||
i += 1;
|
||||
} else {
|
||||
x += columnGap;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue