Skip to content

Commit

Permalink
Modifier change (#751)
Browse files Browse the repository at this point in the history
only update modifier when then event is a flag change
  • Loading branch information
groverlynn authored Apr 29, 2024
1 parent 866eac5 commit db0b523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SquirrelInputController.m
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ - (BOOL)handleEvent:(NSEvent*)event client:(id)sender {
}
}

_lastModifier = modifiers;
if (event.type == NSEventTypeFlagsChanged) _lastModifier = modifiers;
_lastEventType = event.type;

return handled;
Expand Down

0 comments on commit db0b523

Please sign in to comment.