diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-25 09:15:13 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-25 09:15:13 +0100 |
commit | 5df9a8412861797caa5949f916b76a4bc229e16a (patch) | |
tree | b735ff57c8cf05cc555a9ea08a32ab38519fb864 | |
parent | a3a42159e31db27f8ae7c1ecad6a9ed417cb05de (diff) | |
parent | 57b5d112f724ea15a24eafb69167463f1c71ce83 (diff) |
Merge pull request #71968 from bruvzg/def_keys_no_label
[Input] Do not add key labels to the default actions, to display it correctly in the UI.
-rw-r--r-- | core/input/input_event.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/input/input_event.cpp b/core/input/input_event.cpp index dbe9b55ee3..74c0812f43 100644 --- a/core/input/input_event.cpp +++ b/core/input/input_event.cpp @@ -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) { |