Skip to content

Commit 91e8d33

Browse files
committed
lint fixes
1 parent f66e05b commit 91e8d33

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/gameobjects/container/Container.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,8 @@ var Container = new Class({
384384

385385
output.setTo(this.x, this.y, 0, 0);
386386

387-
if (this.parentContainer) {
387+
if (this.parentContainer)
388+
{
388389
var parentMatrix = this.parentContainer.getBoundsTransformMatrix();
389390
var transformedPosition = parentMatrix.transformPoint(this.x, this.y);
390391
output.setTo(transformedPosition.x, transformedPosition.y, 0, 0);
@@ -477,7 +478,9 @@ var Container = new Class({
477478
if (this.parentContainer)
478479
{
479480
this.parentContainer.pointToContainer(source, output);
480-
} else {
481+
}
482+
else
483+
{
481484
output = new Vector2(source.x, source.y);
482485
}
483486

0 commit comments

Comments
 (0)