Skip to content

Commit

Permalink
fix: Automatically set modifier keybinds to ignore conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Sep 18, 2023
1 parent 408e0e1 commit 8de629e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ protected void registerModifierKeyMappings(KeyMapping baseMapping, KeyConflictCo
toKeyCode(keyModifiers.get(i)),
baseMapping.getCategory());
multiModifierKeyMappings.computeIfAbsent(baseMapping, it -> new HashSet<>()).add(subKeyMapping);
ignoreConflicts.add(subKeyMapping);
}
}

Expand All @@ -63,6 +64,7 @@ protected void registerCustomModifierKeyMappings(KeyMapping baseMapping, KeyConf
keyModifiers.get(i).getValue(),
baseMapping.getCategory());
multiModifierKeyMappings.computeIfAbsent(baseMapping, it -> new HashSet<>()).add(subKeyMapping);
ignoreConflicts.add(subKeyMapping);
}
}

Expand Down

0 comments on commit 8de629e

Please sign in to comment.