fixed capital A osx

This commit is contained in:
toger5 2018-05-18 19:46:40 +02:00
parent d927e972d1
commit 6476b708d9
1 changed files with 2 additions and 2 deletions

View File

@ -2845,13 +2845,13 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
case KEY_A: { case KEY_A: {
#ifndef APPLE_STYLE_KEYS #ifndef APPLE_STYLE_KEYS
if (!k->get_command() || k->get_shift() || k->get_alt()) { if (!k->get_control() || k->get_shift() || k->get_alt()) {
scancode_handled = false; scancode_handled = false;
break; break;
} }
select_all(); select_all();
#else #else
if (k->get_alt() || (!k->get_shift() && !k->get_command() && !k->get_control())) { if ((!k->get_command() && !k->get_control())) {
scancode_handled = false; scancode_handled = false;
break; break;
} }