From eb855e8fe63aba3bd8438f22255a8ee5ce316f8e Mon Sep 17 00:00:00 2001 From: JamesWrigley Date: Wed, 9 Aug 2023 19:26:05 +0200 Subject: [PATCH] Fix an enum to use the new name from ImGui --- src/interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.jl b/src/interface.jl index 0eb28f5..daeb324 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -33,7 +33,7 @@ function init(ctx::Context) c_set!(io.KeyMap, ImGuiKey_Space, GLFW_KEY_SPACE) c_set!(io.KeyMap, ImGuiKey_Enter, GLFW_KEY_ENTER) c_set!(io.KeyMap, ImGuiKey_Escape, GLFW_KEY_ESCAPE) - c_set!(io.KeyMap, ImGuiKey_KeyPadEnter, GLFW_KEY_KP_ENTER) + c_set!(io.KeyMap, ImGuiKey_KeypadEnter, GLFW_KEY_KP_ENTER) c_set!(io.KeyMap, ImGuiKey_A, GLFW_KEY_A) c_set!(io.KeyMap, ImGuiKey_C, GLFW_KEY_C) c_set!(io.KeyMap, ImGuiKey_V, GLFW_KEY_V)