Skip to content

Commit efe6330

Browse files
committed
Added scaleX/Y getters
1 parent 112a1ea commit efe6330

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/cameras/2d/Camera.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,20 @@ var Camera = new Class({
466466
this._id = 0;
467467
},
468468

469+
scaleX: {
470+
get: function ()
471+
{
472+
return this.zoom;
473+
}
474+
},
475+
476+
scaleY: {
477+
get: function ()
478+
{
479+
return this.zoom;
480+
}
481+
},
482+
469483
/**
470484
* [description]
471485
*

0 commit comments

Comments
 (0)