image: fix bug when using anim_delay=-1. Closes #292

This commit is contained in:
Mathieu Virbel 2011-10-30 23:23:22 +01:00
parent 324a1fff0b
commit 529294bc87
1 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ class Image(Widget):
return
self._coreimage.anim_delay = value
if value < 0:
self.anim_reset(False)
self._coreimage.anim_reset(False)
def on_texture(self, instance, value):
if value is not None: