Skip to content

Commit

Permalink
Allow 1 modifier key to be added on macOS (xamarin#14831)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfversluis authored Nov 5, 2021
1 parent 085ad87 commit 78d9f87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static void GetAccelerators(NSMenuItem nsMenuItem, MenuItem item)
if (accelerator == null)
return;

bool hasModifierMask = accelerator.Modifiers?.Count() > 1;
bool hasModifierMask = accelerator.Modifiers?.Count() >= 1;

if (hasModifierMask)
{
Expand Down

0 comments on commit 78d9f87

Please sign in to comment.