Mods
This commit is contained in:
parent
9ee9c119ed
commit
67c62f7b0b
|
@ -595,6 +595,11 @@ class Game:
|
||||||
animation.setStartValue(0)
|
animation.setStartValue(0)
|
||||||
animation.setEndValue(1)
|
animation.setEndValue(1)
|
||||||
animation.setEasingCurve(QEasingCurve.InOutQuad)
|
animation.setEasingCurve(QEasingCurve.InOutQuad)
|
||||||
animation.finished.connect(lambda: Game.animations.remove(animation))
|
|
||||||
|
def on_animation_finished() -> None:
|
||||||
|
item.setGraphicsEffect(None)
|
||||||
|
Game.animations.remove(animation)
|
||||||
|
|
||||||
|
animation.finished.connect(on_animation_finished)
|
||||||
Game.animations.append(animation)
|
Game.animations.append(animation)
|
||||||
return animation
|
return animation
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "3.6.0",
|
"version": "4.0.0",
|
||||||
"title": "Cromulant",
|
"title": "Cromulant",
|
||||||
"program": "cromulant",
|
"program": "cromulant",
|
||||||
"author": "madprops",
|
"author": "madprops",
|
||||||
|
|
Loading…
Reference in New Issue