mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 03:37:28 -03:00
Tweak rocket ship
This commit is contained in:
parent
0250384280
commit
cf20d52e98
1 changed files with 1 additions and 2 deletions
|
@ -391,7 +391,6 @@ class AnimStars(Anim):
|
||||||
def move(self):
|
def move(self):
|
||||||
self.x = self.window.width() - self.w
|
self.x = self.window.width() - self.w
|
||||||
self.y = 0
|
self.y = 0
|
||||||
|
|
||||||
# Stars don't move until 10%, then move down
|
# Stars don't move until 10%, then move down
|
||||||
if self.percent >= 10:
|
if self.percent >= 10:
|
||||||
self.y += self.percent * 6.6
|
self.y += self.percent * 6.6
|
||||||
|
@ -428,7 +427,7 @@ class AnimSmoke(Anim):
|
||||||
# Smoke moves up until 50%, then moves down
|
# Smoke moves up until 50%, then moves down
|
||||||
self.y -= self.percent * 6.6
|
self.y -= self.percent * 6.6
|
||||||
if self.percent >= 50:
|
if self.percent >= 50:
|
||||||
self.y += self.percent * 6.6
|
self.y += self.percent * 6.7
|
||||||
|
|
||||||
|
|
||||||
class AutoConnectFirstLaunchWidget(QtWidgets.QWidget):
|
class AutoConnectFirstLaunchWidget(QtWidgets.QWidget):
|
||||||
|
|
Loading…
Reference in a new issue