Skip to content

Commit 76510d9

Browse files
committed
Fix argument issue for DynamicButton init
1 parent 3520835 commit 76510d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pygamepopup/components/dynamic_button.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class DynamicButton(Button):
2424
2525
The sequence will be iterated to determine the next inner value after a click.
2626
27-
This fluctuating value is the one that will be send has the first argument of
27+
This fluctuating value is the one that will be sent has the first argument of
2828
the method called on click, and a different label will be displayed on the button for
2929
each different value of the sequence.
3030
@@ -80,7 +80,7 @@ def __init__(
8080
no_background,
8181
margin,
8282
disabled,
83-
column_span
83+
column_span=column_span
8484
)
8585
self.values: Sequence[any] = values
8686
self.current_value_index: int = current_value_index

0 commit comments

Comments
 (0)