We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa86d2f commit 1ef0f0aCopy full SHA for 1ef0f0a
1 file changed
src/utils/Debug.js
@@ -476,7 +476,7 @@ Phaser.Utils.Debug.prototype = {
476
this.line('x: ' + sprite.x.toFixed(1) + ' y: ' + sprite.y.toFixed(1));
477
this.line('angle: ' + sprite.angle.toFixed(1) + ' rotation: ' + sprite.rotation.toFixed(1));
478
this.line('visible: ' + sprite.visible + ' in camera: ' + sprite.inCamera);
479
- this.line('bounds x: ' + sprite._bounds.x + ' y: ' + sprite._bounds.y + ' w: ' + sprite._bounds.width + ' h: ' + sprite._bounds.height);
+ this.line('bounds x: ' + sprite._bounds.x.toFixed(1) + ' y: ' + sprite._bounds.y.toFixed(1) + ' w: ' + sprite._bounds.width.toFixed(1) + ' h: ' + sprite._bounds.height.toFixed(1));
480
481
this.stop();
482
0 commit comments