Browse Source

[macOS] Fix macOS producing alert sound on some input actions.

bruvzg 3 years ago
parent
commit
5c641372fc
1 changed files with 4 additions and 0 deletions
  1. 4 0
      platform/osx/godot_content_view.mm

+ 4 - 0
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:@""];