macOS: Fix error sound for every KB keypress on render canvas (#521)

This commit is contained in:
greybaron 2022-11-21 22:47:53 +01:00 committed by GitHub
parent 8ff668a303
commit c0ebbef9bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1388,7 +1388,7 @@ void MainWindow::OnChar(wxKeyEvent& event)
if (swkbd_hasKeyboardInputHook()) if (swkbd_hasKeyboardInputHook())
swkbd_keyInput(event.GetUnicodeKey()); swkbd_keyInput(event.GetUnicodeKey());
event.Skip(); // event.Skip();
} }
void MainWindow::OnToolsInput(wxCommandEvent& event) void MainWindow::OnToolsInput(wxCommandEvent& event)