Skip to content

Commit

Permalink
add space for easier grabbing of number vs text
Browse files Browse the repository at this point in the history
Signed-off-by: hanbollar <[email protected]>
  • Loading branch information
hanbollar committed Jun 5, 2024
1 parent e908384 commit 3d1c8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/componentSystems/StatsSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class StatsSystem extends MRSystem {
// as that will fill it in as an html value on the screen in 2D. We only
// want to update the stats.textObj.text here directly for the 3D element
// to update.
stats.textObj.text = (stats.frame / stats.elapsedTime).toFixed(2) + 'fps';
stats.textObj.text = (stats.frame / stats.elapsedTime).toFixed(2) + ' fps';

stats.frame = 0;
stats.elapsedTime = 0.0;
Expand Down

0 comments on commit 3d1c8af

Please sign in to comment.