Merge branch 'master' of ssh://github.com/kivy/kivy

This commit is contained in:
Mathieu Virbel 2014-04-05 12:16:47 +02:00
commit 5f8af507c4
1 changed files with 5 additions and 0 deletions

View File

@ -481,6 +481,11 @@ class NoTransition(TransitionBase):
duration = NumericProperty(0.0)
def on_complete(self):
self.screen_in.pos = self.manager.pos
self.screen_out.pos = self.manager.pos
super(NoTransition, self).on_complete()
class SlideTransition(TransitionBase):
'''Slide Transition, can be used to show a new screen from any direction: