diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-04-08 22:27:08 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-04-09 14:58:24 +0200 |
commit | 88518d28bab0cce282d81f80dcfb15c32408a5cc (patch) | |
tree | e9deedd5ed54cb9bc4a323b3053500c4f7ee4909 /editor/editor_resource_preview.h | |
parent | cba3b024b5d08b79e4389dc2c374e38ab4a64ff9 (diff) |
Tweak frame time display in the editor
- Pad decimal values to avoid layout shifts when the frame time
changes.
- Cap values to 0.01 milliseconds to avoid division by zero
in the FPS counter.
Diffstat (limited to 'editor/editor_resource_preview.h')
0 files changed, 0 insertions, 0 deletions