Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
teaguejt committed Aug 17, 2021
1 parent 9577efc commit 9599861
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 @@ -44,7 +44,7 @@ def __init__(

self._state = is_on

if self.state is True:
if self._state is True:
self._set_active()
else:
self._set_inactive()
Expand Down

0 comments on commit 9599861

Please sign in to comment.