mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 06:39:30 +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];
|
[self setMovableByWindowBackground:YES];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
- (void)keyDown:(NSEvent *)event {
|
||||||
|
}
|
||||||
- (BOOL)canBecomeKeyWindow {
|
- (BOOL)canBecomeKeyWindow {
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user