2
0
Fork 0

[Input] Do not add key labels to the default actions, to display it correctly in the UI.

4.0
bruvzg 2023-01-24 14:49:11 +07:00
parent 4fa6edc888
commit 57b5d112f7
No known key found for this signature in database
GPG Key ID: 7960FCF39844EC38
1 changed files with 0 additions and 1 deletions

@ -478,7 +478,6 @@ Ref<InputEventKey> InputEventKey::create_reference(Key p_keycode) {
Ref<InputEventKey> ie;
ie.instantiate();
ie->set_keycode(p_keycode & KeyModifierMask::CODE_MASK);
ie->set_key_label(p_keycode & KeyModifierMask::CODE_MASK);
ie->set_unicode(char32_t(p_keycode & KeyModifierMask::CODE_MASK));
if ((p_keycode & KeyModifierMask::SHIFT) != Key::NONE) {