Skip to content

Commit

Permalink
change ~ to ESC in debug display
Browse files Browse the repository at this point in the history
  • Loading branch information
KilledByAPixel committed Aug 12, 2023
1 parent d9ac334 commit 632a116
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build/littlejs.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ const debugRender = ()=>
overlayContext.fillText('Time: ' + formatTime(time), x, y += h);
overlayContext.fillText('---------', x, y += h);
overlayContext.fillStyle = '#f00';
overlayContext.fillText('~: Debug Overlay', x, y += h);
overlayContext.fillText('ESC: Debug Overlay', x, y += h);
overlayContext.fillStyle = debugPhysics ? '#f00' : '#fff';
overlayContext.fillText('1: Debug Physics', x, y += h);
overlayContext.fillStyle = debugParticles ? '#f00' : '#fff';
Expand Down Expand Up @@ -4275,7 +4275,7 @@ const engineName = 'LittleJS';
* @type {String}
* @default
* @memberof Engine */
const engineVersion = '1.6.3';
const engineVersion = '1.6.4';

/** Frames per second to update objects
* @type {Number}
Expand Down
2 changes: 1 addition & 1 deletion build/littlejs.esm.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/littlejs.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ const debugRender = ()=>
overlayContext.fillText('Time: ' + formatTime(time), x, y += h);
overlayContext.fillText('---------', x, y += h);
overlayContext.fillStyle = '#f00';
overlayContext.fillText('~: Debug Overlay', x, y += h);
overlayContext.fillText('ESC: Debug Overlay', x, y += h);
overlayContext.fillStyle = debugPhysics ? '#f00' : '#fff';
overlayContext.fillText('1: Debug Physics', x, y += h);
overlayContext.fillStyle = debugParticles ? '#f00' : '#fff';
Expand Down Expand Up @@ -4275,7 +4275,7 @@ const engineName = 'LittleJS';
* @type {String}
* @default
* @memberof Engine */
const engineVersion = '1.6.3';
const engineVersion = '1.6.4';

/** Frames per second to update objects
* @type {Number}
Expand Down
2 changes: 1 addition & 1 deletion build/littlejs.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/littlejs.release.js
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ const engineName = 'LittleJS';
* @type {String}
* @default
* @memberof Engine */
const engineVersion = '1.6.3';
const engineVersion = '1.6.4';

/** Frames per second to update objects
* @type {Number}
Expand Down
2 changes: 1 addition & 1 deletion src/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const engineName = 'LittleJS';
* @type {String}
* @default
* @memberof Engine */
const engineVersion = '1.6.3';
const engineVersion = '1.6.4';

/** Frames per second to update objects
* @type {Number}
Expand Down
2 changes: 1 addition & 1 deletion src/engineDebug.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ const debugRender = ()=>
overlayContext.fillText('Time: ' + formatTime(time), x, y += h);
overlayContext.fillText('---------', x, y += h);
overlayContext.fillStyle = '#f00';
overlayContext.fillText('~: Debug Overlay', x, y += h);
overlayContext.fillText('ESC: Debug Overlay', x, y += h);
overlayContext.fillStyle = debugPhysics ? '#f00' : '#fff';
overlayContext.fillText('1: Debug Physics', x, y += h);
overlayContext.fillStyle = debugParticles ? '#f00' : '#fff';
Expand Down

0 comments on commit 632a116

Please sign in to comment.