Skip to content
Snippets Groups Projects
Verified Commit 427b0260 authored by dos's avatar dos
Browse files

py,st3m: overlays: Reset _last_fps_string when FPS indicator is disabled

This makes sure it gets drawn after reenabling even if FPS value did not
change.
parent 255136a6
No related branches found
No related tags found
1 merge request!600Simulator improvements
......@@ -195,6 +195,7 @@ class Compositor(Responder):
self._last_clip.copy(self._clip_rect)
self._last_enabled = []
else:
self._last_fps_string = ""
self._clip_rect.clear()
for i in range(len(self._enabled)):
redraw = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment