diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-02-12 19:57:04 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-02-12 19:58:39 +0200 |
commit | 5c641372fc83a7fffb4cb02f1ad33ee778a92e57 (patch) | |
tree | 06115b7b0a507c03b07930c9390dd8cc9095211b | |
parent | d3a6b6daaab4c8dfb7bdf35cc2fe2145ae6c22a1 (diff) |
[macOS] Fix macOS producing alert sound on some input actions.
-rw-r--r-- | platform/osx/godot_content_view.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/osx/godot_content_view.mm b/platform/osx/godot_content_view.mm index 4e831e1ccc..76d9cfb081 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:@""]; |