Skip to content

Commit

Permalink
fix: use round instead of floor in fps graph redraw
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnsgn committed Nov 22, 2024
1 parent 48d670c commit 1373b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ class GUI {
item.options.time.update(now);
},
redraw(item) {
item.values.push(Math.floor(item.options.time.fps));
item.values.push(Math.round(item.options.time.fps));
},
});

Expand Down

0 comments on commit 1373b6b

Please sign in to comment.