Skip to content

Commit 1ef0f0a

Browse files
committed
Rounded off bounds.
1 parent aa86d2f commit 1ef0f0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/Debug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ Phaser.Utils.Debug.prototype = {
476476
this.line('x: ' + sprite.x.toFixed(1) + ' y: ' + sprite.y.toFixed(1));
477477
this.line('angle: ' + sprite.angle.toFixed(1) + ' rotation: ' + sprite.rotation.toFixed(1));
478478
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);
479+
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));
480480

481481
this.stop();
482482

0 commit comments

Comments
 (0)