fixing more broken interpolated strings
This commit is contained in:
@@ -1528,10 +1528,7 @@ class World:
|
|||||||
|
|
||||||
elif k & 0xFF == ord("f"): # modify FPS
|
elif k & 0xFF == ord("f"): # modify FPS
|
||||||
FPS_modifier = (FPS_modifier + 1) % len(FPS_modifiers)
|
FPS_modifier = (FPS_modifier + 1) % len(FPS_modifiers)
|
||||||
self.add_message(
|
self.add_message(f"Player speed {round(1/FPS_modifiers[FPS_modifier], 2)}")
|
||||||
f"Player speed {round(
|
|
||||||
1/FPS_modifiers[FPS_modifier], 2)}"
|
|
||||||
)
|
|
||||||
elif k & 0xFF == ord("a"): # toggle crop offset
|
elif k & 0xFF == ord("a"): # toggle crop offset
|
||||||
self.crop_click = 0 if self.crop_click == 1 else 1
|
self.crop_click = 0 if self.crop_click == 1 else 1
|
||||||
self.crop[2] = True
|
self.crop[2] = True
|
||||||
@@ -1752,8 +1749,7 @@ class TrackerGUI:
|
|||||||
show_message = f"Tracking... ({i+1}/{max_frames})"
|
show_message = f"Tracking... ({i+1}/{max_frames})"
|
||||||
else:
|
else:
|
||||||
# Tracking failure
|
# Tracking failure
|
||||||
show_message = f"Tracking failure detected ({
|
show_message = f"Tracking failure detected ({i+1}/{max_frames})"
|
||||||
i+1}/{max_frames})"
|
|
||||||
bbox = None
|
bbox = None
|
||||||
|
|
||||||
if time.time() > show_time + visu_interval:
|
if time.time() > show_time + visu_interval:
|
||||||
|
|||||||
Reference in New Issue
Block a user