mirror of
https://github.com/godotengine/godot.git
synced 2025-04-19 01:27:45 +08:00
fixed capital A osx
(cherry picked from commit 6476b708d9275c279f76c64caadcaccbe4e618e5)
This commit is contained in:
parent
dd026c77e3
commit
b04c9a1b66
@ -3006,13 +3006,13 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
|
||||
case KEY_A: {
|
||||
|
||||
#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;
|
||||
break;
|
||||
}
|
||||
select_all();
|
||||
#else
|
||||
if (k->get_alt() || (!k->get_shift() && !k->get_command() && !k->get_control())) {
|
||||
if ((!k->get_command() && !k->get_control())) {
|
||||
scancode_handled = false;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user