3
3
#
4
4
# SPDX-License-Identifier: MIT
5
5
"""
6
- `displayio_effects`
6
+ `displayio_effects.throttle_effect `
7
7
================================================================================
8
8
9
- Add some flair to your widgets with effects!
9
+ Add the throttle effect to your widgets
10
10
11
11
12
12
* Author(s): Alec Delaney
28
28
29
29
@property
30
30
def throttle_effect (self ):
31
- """The furtherest the throttle effect can randomly set the dial value relative
31
+ """The furtherest the throttle effect can randomly set the widget value relative
32
32
to its true position, in either direction.
33
33
"""
34
34
return self ._throttle_setting
@@ -43,15 +43,17 @@ def throttle_effect(self, setting):
43
43
44
44
@property
45
45
def throttle_effect_move_rate (self ):
46
- """The speed at which the throttle effect moves the dial per update"""
46
+ """The speed at which the throttle effect moves the widget vaalue
47
+ per update"""
48
+
47
49
return self ._throttle_move_rate
48
50
49
51
@throttle_effect_move_rate .setter
50
52
def throttle_effect_move_rate (self , rate ):
51
53
self ._throttle_move_rate = rate
52
54
53
55
def throttle_update (self ):
54
- """Updates the gauge and propagates the throttle effect refresh"""
56
+ """Updates the widget value and propagates the throttle effect refresh"""
55
57
56
58
if self ._throttle_setting == 0 :
57
59
self ._throttle_destination = None
0 commit comments