Skip to content

Commit

Permalink
Fix argument issue for DynamicButton init
Browse files Browse the repository at this point in the history
  • Loading branch information
Grimmys committed Apr 4, 2024
1 parent 3520835 commit 76510d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pygamepopup/components/dynamic_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class DynamicButton(Button):
The sequence will be iterated to determine the next inner value after a click.
This fluctuating value is the one that will be send has the first argument of
This fluctuating value is the one that will be sent has the first argument of
the method called on click, and a different label will be displayed on the button for
each different value of the sequence.
Expand Down Expand Up @@ -80,7 +80,7 @@ def __init__(
no_background,
margin,
disabled,
column_span
column_span=column_span
)
self.values: Sequence[any] = values
self.current_value_index: int = current_value_index
Expand Down

0 comments on commit 76510d9

Please sign in to comment.