Skip to content
Snippets Groups Projects
Commit 8e5b17f6 authored by dos's avatar dos Committed by pippin
Browse files

py,st3m: Only reset display mode when fully exiting an app

Otherwise it may get changed behind the application's back
when moving forward in the view stack.
parent 45f29fcd
No related branches found
No related tags found
No related merge requests found
Pipeline #7990 passed
......@@ -76,6 +76,7 @@ class Application(BaseView):
super().on_exit()
# set the default graphics mode, this is a no-op if
# it is already set
if fully_exiting:
sys_display.set_mode(0)
def think(self, ins: InputState, delta_ms: int) -> None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment