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

py,st3m: ViewManager: Don't draw the outgoing view at the end of transition

Just a micro-optimization with no functional changes.
parent 17e540eb
No related branches found
No related tags found
No related merge requests found
...@@ -272,6 +272,10 @@ class ViewManager(Responder): ...@@ -272,6 +272,10 @@ class ViewManager(Responder):
if self._transition >= 1.0: if self._transition >= 1.0:
self._fully_drawn += 1 self._fully_drawn += 1
ctx.save()
self._incoming.draw(ctx)
ctx.restore()
return
vt = self._default_vt vt = self._default_vt
if self._overriden_vt is not None: if self._overriden_vt is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment