diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ImGui/ImGuiController.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ImGui/ImGuiController.cs index 6eafd99393..18f76a1e76 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ImGui/ImGuiController.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ImGui/ImGuiController.cs @@ -287,7 +287,6 @@ internal void PressChar(char keyChar) /// /// The Silk.NET.Input.Key to translate. /// The corresponding ImGuiKey. - /// When the key has not been implemented yet. private static ImGuiKey TranslateInputKeyToImGuiKey(Key key) { return key switch @@ -409,7 +408,7 @@ private static ImGuiKey TranslateInputKeyToImGuiKey(Key key) Key.F22 => ImGuiKey.F22, Key.F23 => ImGuiKey.F23, Key.F24 => ImGuiKey.F24, - _ => throw new NotImplementedException(), + _ => ImGuiKey.None, // Key isn't implemented }; }