Nav: Added internal ImGuiNavReadMode_Released test for key releases.

This commit is contained in:
omar
2017-10-23 11:26:30 +02:00
parent d769e2515a
commit 6f0aa766e1
2 changed files with 5 additions and 2 deletions

View File

@ -924,7 +924,7 @@ struct ImGuiIO
float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed)
float KeysDownDurationPrev[512]; // Previous duration the key has been down
float NavInputsDownDuration[ImGuiNavInput_COUNT];
float NavInputsPrev[ImGuiNavInput_COUNT];
float NavInputsDownDurationPrev[ImGuiNavInput_COUNT];
IMGUI_API ImGuiIO();
};