summaryrefslogtreecommitdiff
path: root/editor/editor_resource_preview.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-04-08 22:27:08 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-04-09 14:58:24 +0200
commit88518d28bab0cce282d81f80dcfb15c32408a5cc (patch)
treee9deedd5ed54cb9bc4a323b3053500c4f7ee4909 /editor/editor_resource_preview.h
parentcba3b024b5d08b79e4389dc2c374e38ab4a64ff9 (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