Small changes

This commit is contained in:
Kyle Brown
2019-04-09 16:47:20 -07:00
parent 3f8c6e7648
commit 5158094549
4 changed files with 10 additions and 12 deletions

View File

@@ -399,6 +399,11 @@ class RGB:
return False
def _init_effect(self):
if self.animation_mode == 'breathing' or self.animation_mode == 'breathing_rainbow':
self.intervals = (30, 20, 10, 5)
elif self.animation_mode == 'swirl':
self.intervals = (50, 50)
self.pos = 0
self.reverse_animation = False
self.effect_init = False