Skip to content

Commit

Permalink
I swear I can spell...
Browse files Browse the repository at this point in the history
  • Loading branch information
teaguejt committed Aug 19, 2021
1 parent 1f12530 commit ebcb703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygame_gui/elements/ui_toggle_button.py
Expand Up @@ -164,7 +164,7 @@ def set_state(self, new_state: bool) -> None:
if not self.is_enabled:
return

state = self._get_ui_state(self._state)
state = self._get_ui_state()
self.drawable_shape.set_active_state(state)

def _get_ui_state(self):
Expand Down

0 comments on commit ebcb703

Please sign in to comment.