mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 08:29:40 +08:00
Prevent beeps when pressing a key in Mac window
This commit is contained in:
parent
ba82f27534
commit
b656bd2194
@ -16,6 +16,8 @@ extern bool hasListeners(unsigned int);
|
||||
[self setMovableByWindowBackground:YES];
|
||||
return self;
|
||||
}
|
||||
- (void)keyDown:(NSEvent *)event {
|
||||
}
|
||||
- (BOOL)canBecomeKeyWindow {
|
||||
return YES;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user