Skip to content

Commit

Permalink
fix: Fix multi modifier keymappings not ignoring conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Sep 14, 2023
1 parent ac48bd3 commit 61f1fbe
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ public Optional<Boolean> conflictsWith(KeyMapping first, KeyMapping second) {
@Override
public void ignoreConflicts(KeyMapping keyMapping) {
ignoreConflicts.add(keyMapping);
ignoreConflicts.addAll(multiModifierKeyMappings.getOrDefault(keyMapping, Collections.emptySet()));
}

protected abstract boolean isContextActive(KeyMapping keyMapping);
Expand Down

0 comments on commit 61f1fbe

Please sign in to comment.