Skip to content

Commit

Permalink
fix bug were inactive keybinder was still recognizing
Browse files Browse the repository at this point in the history
  • Loading branch information
acidcoke committed Jun 3, 2023
1 parent 6025067 commit bf0b109
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/controllers/keybinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,12 @@ def act(self, blendshape_values) -> dict:
return

self.toggle_active()
#MouseController().toggle_active()

self.key_states[state_name] = True
elif (val < thres) and (self.key_states[state_name] is True):
self.key_states[state_name] = False

elif self.is_active:
elif self.is_active.get():

if device == "mouse":

Expand Down

0 comments on commit bf0b109

Please sign in to comment.