Skip to content

Commit 33a67f3

Browse files
committed
Added custom pivot boolean.
1 parent 5085ed5 commit 33a67f3

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/textures/Frame.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ var Frame = new Class({
145145
*/
146146
this.halfWidth = Math.floor(width * 0.5);
147147

148-
149148
/**
150149
* Half the height, floored.
151150
* Precalculated for the renderer.
@@ -194,6 +193,16 @@ var Frame = new Class({
194193
*/
195194
this.pivotY = 0;
196195

196+
/**
197+
* Does this Frame have a custom pivot point?
198+
*
199+
* @name Phaser.Textures.Frame#customPivot
200+
* @type {boolean}
201+
* @default false
202+
* @since 3.0.0
203+
*/
204+
this.customPivot = false;
205+
197206
/**
198207
* **CURRENTLY UNSUPPORTED**
199208
*

0 commit comments

Comments
 (0)