Skip to content

Commit bcac03b

Browse files
committed
Correct example for hook usage
1 parent 248ace4 commit bcac03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/displayio_effects_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
maximum_value = 100
2828

2929
# Hook in the throttle effect for the Dial widget
30-
throttle_effect.hook_throttle_effect(Dial)
30+
throttle_effect.hook_throttle_effect(Dial, "value")
3131

3232
# Create a Dial widget
3333
my_dial = Dial(

0 commit comments

Comments
 (0)