🎨
This commit is contained in:
parent
02abda4be8
commit
1e73d48198
1 changed files with 1 additions and 2 deletions
|
@ -25,8 +25,7 @@ void CommonWebContentsDelegate::HandleKeyboardEvent(
|
|||
|
||||
NSWindow* window = event.os_event.window;
|
||||
if (window && [window isKindOfClass:[AtomNSWindow class]]) {
|
||||
AtomNSWindow* native_window = static_cast<AtomNSWindow*>(window);
|
||||
[native_window redispatchKeyEvent:event.os_event];
|
||||
[((AtomNSWindow*)window) redispatchKeyEvent:event.os_event];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue