mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Disabled flip animations in preview.
This commit is contained in:
parent
2988f1b2f8
commit
d2e83ae8fd
1 changed files with 2 additions and 2 deletions
|
@ -1670,12 +1670,12 @@ class Game(object):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def animatedFlip(self, stack):
|
def animatedFlip(self, stack):
|
||||||
if not self.app.opt.flip_animation:
|
if self.preview or not self.app.opt.flip_animation:
|
||||||
return False
|
return False
|
||||||
return self.doAnimatedFlipAndMove(stack)
|
return self.doAnimatedFlipAndMove(stack)
|
||||||
|
|
||||||
def animatedFlipAndMove(self, from_stack, to_stack, frames=-1):
|
def animatedFlipAndMove(self, from_stack, to_stack, frames=-1):
|
||||||
if not self.app.opt.flip_animation:
|
if self.preview or not self.app.opt.flip_animation:
|
||||||
return False
|
return False
|
||||||
return self.doAnimatedFlipAndMove(from_stack, to_stack, frames)
|
return self.doAnimatedFlipAndMove(from_stack, to_stack, frames)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue