daily update on 20240610 by nitload youmu

This commit is contained in:
Nitload
2024-06-10 15:11:01 +08:00
parent c0093f7b5c
commit f6963b8e00
96 changed files with 2927 additions and 2290 deletions
+3 -3
View File
@@ -35,7 +35,7 @@ using StgSharp.Math;
namespace StgSharp.Graphics
{
public partial class ViewModel
public partial class View
{
/// <summary>
@@ -44,9 +44,9 @@ namespace StgSharp.Graphics
/// <param name="form"></param>
/// <param name="key"></param>
/// <returns></returns>
public static KeyStatus GetKeyStatus(ViewModel form, KeyboardKey key)
public static KeyStatus GetKeyStatus(ViewModelBase form, KeyboardKey key)
{
return InternalIO.glfwGetKey(form.id, (int)key);
return InternalIO.glfwGetKey(form.WindowID, (int)key);
}
}