broke out animate() logic to guarantee each item calls animate without short circuit
This commit is contained in:
parent
fc16661ac8
commit
ba57e7a6e1
1 changed files with 6 additions and 1 deletions
|
|
@ -152,7 +152,12 @@ class AnimationGroup:
|
|||
member.show()
|
||||
return result
|
||||
|
||||
return any(item.animate(show) for item in self._members)
|
||||
ret=False
|
||||
for item in self._members:
|
||||
if item.animate(show):
|
||||
ret=True
|
||||
return ret
|
||||
#return any(item.animate(show) for item in self._members)
|
||||
|
||||
@property
|
||||
def color(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue