From 46aaf60b3bb5f63c2b7a4723efcb17096de2d4ef Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Sun, 12 May 2013 14:06:08 +0200 Subject: [PATCH] clock: the tick_draw _must_ be done even if the canvas doesn't need redraw. --- kivy/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kivy/base.py b/kivy/base.py index b4acae75e..5f16377ea 100644 --- a/kivy/base.py +++ b/kivy/base.py @@ -299,9 +299,11 @@ class EventLoopBase(EventDispatcher): # flush all the canvas operation Builder.sync() + # tick before draw + Clock.tick_draw() + window = self.window if window and window.canvas.needs_redraw: - Clock.tick_draw() Builder.sync() window.dispatch('on_draw') window.dispatch('on_flip')