mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
well
This commit is contained in:
parent
81affe9377
commit
845baee849
4 changed files with 45 additions and 26 deletions
|
@ -84,7 +84,7 @@ internal class HarmonyPatches
|
|||
{
|
||||
if (QuickMenuHelper.Instance == null) return;
|
||||
QuickMenuHelper.Instance.UpdateWorldAnchors();
|
||||
QuickMenuHelper.Instance.ToggleDesktopInputMethod(show);
|
||||
MSP_MenuInfo.ToggleDesktopInputMethod(show);
|
||||
QuickMenuHelper.Instance.enabled = show;
|
||||
}
|
||||
|
||||
|
@ -103,7 +103,7 @@ internal class HarmonyPatches
|
|||
{
|
||||
if (MainMenuHelper.Instance == null) return;
|
||||
MainMenuHelper.Instance.UpdateWorldAnchors();
|
||||
MainMenuHelper.Instance.ToggleDesktopInputMethod(show);
|
||||
MSP_MenuInfo.ToggleDesktopInputMethod(show);
|
||||
MainMenuHelper.Instance.enabled = show;
|
||||
}
|
||||
|
||||
|
@ -114,4 +114,13 @@ internal class HarmonyPatches
|
|||
{
|
||||
MSP_MenuInfo.CameraTransform = PlayerSetup.Instance.GetActiveCamera().transform;
|
||||
}
|
||||
|
||||
//only fixes Desktop QM interaction while using independent head input...
|
||||
//[HarmonyPrefix]
|
||||
//[HarmonyPatch(typeof(ControllerRay), "LateUpdate")]
|
||||
//private static void UpdateMenuPositionForInput()
|
||||
//{
|
||||
// MainMenuHelper.Instance.UpdateMenuPosition();
|
||||
// QuickMenuHelper.Instance.UpdateMenuPosition();
|
||||
//}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue