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

py,st3m: ViewTransitionBlend: Add ctx.save/restore pair around outgoing view

parent 604a737d
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,9 @@ class ViewTransitionBlend(ViewTransition): ...@@ -106,7 +106,9 @@ class ViewTransitionBlend(ViewTransition):
def draw( def draw(
self, ctx: Context, transition: float, incoming: Responder, outgoing: Responder self, ctx: Context, transition: float, incoming: Responder, outgoing: Responder
) -> None: ) -> None:
ctx.save()
outgoing.draw(ctx) outgoing.draw(ctx)
ctx.restore()
ctx.save() ctx.save()
ctx.global_alpha = transition ctx.global_alpha = transition
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment