|
@@ -20,7 +20,7 @@ from PyQt5.QtCore import QCoreApplication, QSettings
|
20
|
20
|
class CaseLights():
|
21
|
21
|
name = "CaseLights"
|
22
|
22
|
vendor = "xythobuz"
|
23
|
|
- version = "0.1"
|
|
23
|
+ version = "0.2"
|
24
|
24
|
|
25
|
25
|
iconPath = "/usr/share/pixmaps/"
|
26
|
26
|
iconName = "caselights_icon.png"
|
|
@@ -35,7 +35,7 @@ class CaseLights():
|
35
|
35
|
|
36
|
36
|
slowFadeUpdateFreq = 5
|
37
|
37
|
fastFadeUpdateFreq = 20
|
38
|
|
- cpuUsageUpdateFreq = 1
|
|
38
|
+ cpuUsageUpdateFreq = 2
|
39
|
39
|
fadeSaturation = 1.0
|
40
|
40
|
fadeValue = 1.0
|
41
|
41
|
fadeHueCounter = 0
|
|
@@ -267,6 +267,8 @@ class CaseLights():
|
267
|
267
|
|
268
|
268
|
def animOff(self):
|
269
|
269
|
self.animationRunning = False
|
|
270
|
+ if self.animation != None:
|
|
271
|
+ self.animation.join()
|
270
|
272
|
self.animation = None
|
271
|
273
|
self.printRGBStrings("0", "0", "0")
|
272
|
274
|
time.sleep(0.1)
|