mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Prevent beeps when pressing a key in Mac window
This commit is contained in:
@@ -16,6 +16,8 @@ extern bool hasListeners(unsigned int);
|
||||
[self setMovableByWindowBackground:YES];
|
||||
return self;
|
||||
}
|
||||
- (void)keyDown:(NSEvent *)event {
|
||||
}
|
||||
- (BOOL)canBecomeKeyWindow {
|
||||
return YES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user