Skip to content

Commit

Permalink
Round FPS to 2 decimal digits
Browse files Browse the repository at this point in the history
  • Loading branch information
Agustín Castro committed Mar 5, 2024
1 parent 20949c0 commit 912e0f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion norfair/common_reference_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ def handle_skip_frame(event):
frame_options_fps = tk.Frame(master=frame_options)
title = tk.Label(
master=frame_options_fps,
text=f"FPS {video_type}: {fps}",
text=f"FPS {video_type}: {round(fps, 2)}",
foreground="white",
background="#34A2FE",
width=40,
Expand Down

0 comments on commit 912e0f6

Please sign in to comment.