From b34669ed69609e805c77d948d68bfac216bd1a17 Mon Sep 17 00:00:00 2001 From: liabru Date: Tue, 21 Apr 2015 21:08:15 +0100 Subject: [PATCH] fix bug in Composites.stack when skipping bodies --- src/factory/Composites.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/factory/Composites.js b/src/factory/Composites.js index e57af9c0..ee9fe47f 100644 --- a/src/factory/Composites.js +++ b/src/factory/Composites.js @@ -49,6 +49,8 @@ var Composites = {}; lastBody = body; i += 1; + } else { + x += columnGap; } }