make patch target type reference explicit
All checks were successful
Build / Compute Version (push) Successful in 6s
Build / Build Nuget package (CringeBootstrap.Abstractions) (push) Successful in 57s
Build / Build Nuget package (NuGet) (push) Successful in 55s
Build / Build Nuget package (SharedCringe) (push) Successful in 54s
Build / Build Launcher (push) Successful in 2m13s
Build / Build Nuget package (CringePlugins) (push) Successful in 3m20s
All checks were successful
Build / Compute Version (push) Successful in 6s
Build / Build Nuget package (CringeBootstrap.Abstractions) (push) Successful in 57s
Build / Build Nuget package (NuGet) (push) Successful in 55s
Build / Build Nuget package (SharedCringe) (push) Successful in 54s
Build / Build Launcher (push) Successful in 2m13s
Build / Build Nuget package (CringePlugins) (push) Successful in 3m20s
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<Publicize Include="Sandbox.Game:Sandbox.Engine.Platform.Game.set_DrawThread" />
|
<Publicize Include="Sandbox.Game:Sandbox.Engine.Platform.Game.set_DrawThread" />
|
||||||
<Publicize Include="Sandbox.Game:Sandbox.MySandboxGame.form" />
|
<Publicize Include="Sandbox.Game:Sandbox.MySandboxGame.form" />
|
||||||
<Publicize Include="Sandbox.Game:Sandbox.MySandboxGame.RenderThread_SizeChanged" />
|
<Publicize Include="Sandbox.Game:Sandbox.MySandboxGame.RenderThread_SizeChanged" />
|
||||||
<Publicize Include="VRage.Render;VRage.Render11;VRage.Platform.Windows;VRage.Scripting" IncludeCompilerGeneratedMembers="false" />
|
<Publicize Include="VRage.Render;VRage.Render11;VRage.Platform.Windows;VRage.Scripting;VRage.Input" IncludeCompilerGeneratedMembers="false" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@@ -20,7 +20,7 @@ internal static class InputPatch
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[HarmonyPrefix, HarmonyPatch("VRage.Input.Keyboard.MyGuiLocalizedKeyboardState", "GetCurrentState")]
|
[HarmonyPrefix, HarmonyPatch(typeof(MyGuiLocalizedKeyboardState), nameof(MyGuiLocalizedKeyboardState.GetCurrentState))]
|
||||||
private static bool GetKeyboardStatePrefix(ref MyKeyboardState __result)
|
private static bool GetKeyboardStatePrefix(ref MyKeyboardState __result)
|
||||||
{
|
{
|
||||||
if (ImGuiHandler.Instance?.BlockKeys == true)
|
if (ImGuiHandler.Instance?.BlockKeys == true)
|
||||||
|
Reference in New Issue
Block a user