Skip to content

Commit

Permalink
Move maxPointers
Browse files Browse the repository at this point in the history
  • Loading branch information
samme committed May 15, 2020
1 parent ec4d328 commit 7b8ccd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/Debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ Phaser.Utils.Debug.prototype = {
var active = 0;
var free = 0;

this.line('Pointers: (Max: ' + input.maxPointers + ')');
this.line('Pointers:');
this.line(' ' + (mousePointer.isDown ? 'x' : 'o') + ' ' + modes[mousePointer.pointerMode] + ' ' + mousePointer.identifier);

for (var i = 0; i < pointers.length; i++)
Expand All @@ -690,7 +690,7 @@ Phaser.Utils.Debug.prototype = {
if (p.active) { active += 1; } else { free += 1; }
}

this.line('Active: ' + active + ' Free: ' + free);
this.line(' Active: ' + active + ' Free: ' + free + ' Max: ' + input.maxPointers);

this.stop();

Expand Down

0 comments on commit 7b8ccd3

Please sign in to comment.