| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0b77980 commit 9a29856
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -183,7 +183,7 @@ int32_t ImGui_ImplAndroid_HandleInputEvent(const AInputEvent* input_event) | |||
| 183 | 183 | case AKEY_EVENT_ACTION_UP: | |
| 184 | 184 | { | |
| 185 | 185 | ImGuiKey key = ImGui_ImplAndroid_KeyCodeToImGuiKey(event_key_code); | |
| 186 | - if (key != ImGuiKey_None && (event_action == AKEY_EVENT_ACTION_DOWN || event_action == AKEY_EVENT_ACTION_UP)) | ||
| 186 | + if (key != ImGuiKey_None) | ||
| 187 | 187 | { | |
| 188 | 188 | io.AddKeyEvent(key, event_action == AKEY_EVENT_ACTION_DOWN); | |
| 189 | 189 | io.SetKeyEventNativeData(key, event_key_code, event_scan_code); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments