mirror of
https://github.com/wassname/phaser.git
synced 2026-07-12 00:50:45 +08:00
* Updated: event.preventDefault() has been added to all Mouse event handlers.
* Updated: Sprite.deltaX/Y removed due to non-use. prevX/Y values moved to Sprite._cache.prevX/Y. * Updated: Due to missing extends parameter the Sprite prototype was picking up functions from classes it never meant to (Button, TilemapLayer), now fully isolated.
This commit is contained in:
@@ -222,6 +222,7 @@ Phaser.Utils.Debug.prototype = {
|
||||
this.context.strokeStyle = 'rgba(255, 0, 255, 0.7)';
|
||||
this.context.stroke();
|
||||
|
||||
this.renderPoint(sprite.offset);
|
||||
this.renderPoint(sprite.center);
|
||||
this.renderPoint(sprite.topLeft);
|
||||
this.renderPoint(sprite.topRight);
|
||||
|
||||
Reference in New Issue
Block a user