Skip to content

Commit eb02fad

Browse files
committed
Merge branch 'master' of https://github.com/playcanvas/engine
2 parents 3d07d99 + 420280c commit eb02fad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/framework/components/layout-group/component.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ pc.extend(pc, function () {
4343
var LayoutGroupComponent = function LayoutGroupComponent(system, entity) {
4444
this._orientation = pc.ORIENTATION_HORIZONTAL;
4545
this._reverseX = false;
46-
this._reverseY = false;
47-
this._alignment = new pc.Vec2();
46+
this._reverseY = true;
47+
this._alignment = new pc.Vec2(0, 1);
4848
this._padding = new pc.Vec4();
4949
this._spacing = new pc.Vec2();
5050
this._widthFitting = pc.FITTING_NONE;

0 commit comments

Comments
 (0)