File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ImGui Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,6 @@ internal void PressChar(char keyChar)
287
287
/// </summary>
288
288
/// <param name="key">The Silk.NET.Input.Key to translate.</param>
289
289
/// <returns>The corresponding ImGuiKey.</returns>
290
- /// <exception cref="NotImplementedException">When the key has not been implemented yet.</exception>
291
290
private static ImGuiKey TranslateInputKeyToImGuiKey ( Key key )
292
291
{
293
292
return key switch
@@ -409,7 +408,7 @@ private static ImGuiKey TranslateInputKeyToImGuiKey(Key key)
409
408
Key . F22 => ImGuiKey . F22 ,
410
409
Key . F23 => ImGuiKey . F23 ,
411
410
Key . F24 => ImGuiKey . F24 ,
412
- _ => throw new NotImplementedException ( ) ,
411
+ _ => ImGuiKey . None , // Key isn't implemented
413
412
} ;
414
413
}
415
414
You can’t perform that action at this time.
0 commit comments