1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

(Breaking) Removed ImGuiKey_COUNT. (#4921)

This commit is contained in:
ocornut 2024-11-06 17:49:52 +01:00
parent 738d6db3e6
commit df0776e931
3 changed files with 7 additions and 3 deletions

View file

@ -52,6 +52,8 @@ Breaking changes:
- read https://github.com/ocornut/imgui/issues/4921
- If you have trouble updating a very old codebase using legacy backend-specific key codes:
consider updating to 1.91.4 first, then #define IMGUI_DISABLE_OBSOLETE_KEYIO, then update to latest.
- Obsoleted ImGuiKey_COUNT (it is unusually error-prone/misleading since valid keys don't start at 0).
Probably use ImGuiKey_NamedKey_BEGIN/ImGuiKey_NamedKey_END?
Other changes: