From 5c641372fc83a7fffb4cb02f1ad33ee778a92e57 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Sat, 12 Feb 2022 19:57:04 +0200 Subject: [PATCH] [macOS] Fix macOS producing alert sound on some input actions. --- platform/osx/godot_content_view.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/osx/godot_content_view.mm b/platform/osx/godot_content_view.mm index 4e831e1ccc8..76d9cfb081c 100644 --- a/platform/osx/godot_content_view.mm +++ b/platform/osx/godot_content_view.mm @@ -117,6 +117,10 @@ } } +- (void)doCommandBySelector:(SEL)aSelector { + [self tryToPerform:aSelector with:self]; +} + - (void)unmarkText { ime_input_event_in_progress = false; [[marked_text mutableString] setString:@""];