Skip to content

Commit

Permalink
Small fix for stats
Browse files Browse the repository at this point in the history
  • Loading branch information
hcodes committed Oct 31, 2024
1 parent bdc7517 commit ccdb3fc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/constructor/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,6 @@
_this.elems.loadFps.disabled = true;
loadScript('https://rawgit.com/mrdoob/stats.js/master/build/stats.min.js', function () {
var stats = new window.Stats();
stats.dom.style.right = '0';
document.body.appendChild(stats.dom);
requestAnimationFrame(function loop() {
stats.update();
Expand Down
1 change: 0 additions & 1 deletion examples/constructor/src/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ export class Form {
this.elems.loadFps.disabled = true;
loadScript('https://rawgit.com/mrdoob/stats.js/master/build/stats.min.js', () => {
const stats = new window.Stats();
stats.dom.style.right = '0';
document.body.appendChild(stats.dom);
requestAnimationFrame(function loop() {
stats.update();
Expand Down

0 comments on commit ccdb3fc

Please sign in to comment.