mirror of https://github.com/kivy/kivy.git
Merge branch 'master' of ssh://github.com/kivy/kivy
This commit is contained in:
commit
5f8af507c4
|
@ -481,6 +481,11 @@ class NoTransition(TransitionBase):
|
||||||
|
|
||||||
duration = NumericProperty(0.0)
|
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):
|
class SlideTransition(TransitionBase):
|
||||||
'''Slide Transition, can be used to show a new screen from any direction:
|
'''Slide Transition, can be used to show a new screen from any direction:
|
||||||
|
|
Loading…
Reference in New Issue