소스 검색

Merge pull request #187 from nicked/patch-1

Fixed keyboard shortcuts in Xcode 9 simulator
Ryan Olson 9 년 전
부모
커밋
b0085cae7d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Classes/Utility/FLEXKeyboardShortcutManager.m

+ 1 - 1
Classes/Utility/FLEXKeyboardShortcutManager.m

@@ -260,7 +260,7 @@ static const long kFLEXCommandKeyCode = 0xe3;
             dispatch_block_t actionBlock = self.actionsForKeyInputs[exactMatch];
             
             if (!actionBlock) {
-                FLEXKeyInput *shiftMatch = [FLEXKeyInput keyInputForKey:modifiedInput flags:flags&(!UIKeyModifierShift)];
+                FLEXKeyInput *shiftMatch = [FLEXKeyInput keyInputForKey:modifiedInput flags:flags&(~UIKeyModifierShift)];
                 actionBlock = self.actionsForKeyInputs[shiftMatch];
             }