Skip to content
Snippets Groups Projects
Verified Commit cb00086b 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 4bebf7c1
Branches
No related tags found
No related merge requests found
......@@ -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.
Please register or to comment