Browse Source

macOS: Fix bug where keyUp messages were forwarding to the superclass keyDown

tags/2021-05-28
reuk 4 years ago
parent
commit
4e0f3e8c91
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm

+ 1
- 1
modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm View File

@@ -1785,7 +1785,7 @@ private:
if (owner == nullptr || ! owner->redirectKeyUp (ev))
{
objc_super s = { self, [NSView class] };
ObjCMsgSendSuper<void> (&s, @selector (keyDown:), ev);
ObjCMsgSendSuper<void> (&s, @selector (keyUp:), ev);
}
}


Loading…
Cancel
Save