immersive-web / webxr-samples

Samples to demonstrate use of the WebXR Device API
https://immersive-web.github.io/webxr-samples/
MIT License
979 stars 474 forks source link

Fit fps string into 6 char boundary #148

Closed mkeblx closed 1 year ago

mkeblx commented 2 years ago

Now would display as: 1 fps => "1 FPS" 14 fps => "14 FPS" 144 fps => "144FPS"

I think sufficient not to have a space for 3-digit fps.

Fixes #147

toji commented 1 year ago

Seems like a good idea! Thanks!

toji commented 1 year ago

Oh, ha! Didn't realize this was over a year old. Thanks for the contribution anyway, sorry I'm so bad at keeping up on reviews!