Merge pull request #18782 from toger5/fix_no_a_input_script_editor_osx

fixed 'A' input not registered in osx script editor
This commit is contained in:
Rémi Verschelde 2018-05-14 07:24:34 +02:00 committed by GitHub
commit e036eb648b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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