Skip to content

Commit 7ae478c

Browse files
committed
Groups can set grid alignment via the config
1 parent 656b7e3 commit 7ae478c

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: '4012e3b0-66ab-11e7-b482-e336f0d78b42'
2+
build: '6b8c2e70-66f1-11e7-b643-6b4ad5936419'
33
};
44
module.exports = CHECKSUM;

v3/src/gameobjects/group/Group.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,13 @@ var Group = new Class({
155155

156156
Actions.SetAlpha(entries, alpha, stepAlpha);
157157

158+
var grid = GetValue(options, 'gridAlign', false);
159+
160+
if (grid)
161+
{
162+
Actions.GridAlign(entries, grid);
163+
}
164+
158165
return entries;
159166
},
160167

0 commit comments

Comments
 (0)