diff --git a/MenuScalePatch/Helpers/MainMenuHelper.cs b/MenuScalePatch/Helpers/MainMenuHelper.cs index 53887dc..2491e68 100644 --- a/MenuScalePatch/Helpers/MainMenuHelper.cs +++ b/MenuScalePatch/Helpers/MainMenuHelper.cs @@ -31,7 +31,7 @@ public class MainMenuHelper : MonoBehaviour void LateUpdate() { if (!MenuIsOpen) return; - + if (MSP_MenuInfo.PlayerAnchorMenus || NeedsPositionUpdate) { UpdateMenuPosition(); @@ -39,7 +39,7 @@ public class MainMenuHelper : MonoBehaviour if (MSP_MenuInfo.UseIndependentHeadTurn) { - MSP_MenuInfo.HandleIndependentLookInput(); + MSP_MenuInfo.HandleIndependentHeadTurnInput(); } } diff --git a/MenuScalePatch/Helpers/QuickMenuHelper.cs b/MenuScalePatch/Helpers/QuickMenuHelper.cs index 8de8e81..c5c2aae 100644 --- a/MenuScalePatch/Helpers/QuickMenuHelper.cs +++ b/MenuScalePatch/Helpers/QuickMenuHelper.cs @@ -37,7 +37,7 @@ public class QuickMenuHelper : MonoBehaviour if (MSP_MenuInfo.UseIndependentHeadTurn) { - MSP_MenuInfo.HandleIndependentLookInput(); + MSP_MenuInfo.HandleIndependentHeadTurnInput(); } } diff --git a/MenuScalePatch/MSP_Menus.cs b/MenuScalePatch/MSP_Menus.cs index 23a86c1..aae26d2 100644 --- a/MenuScalePatch/MSP_Menus.cs +++ b/MenuScalePatch/MSP_Menus.cs @@ -46,7 +46,7 @@ public class MSP_MenuInfo CVR_MenuManager.Instance.desktopControllerRay.enabled = !flag; } - internal static void HandleIndependentLookInput() + internal static void HandleIndependentHeadTurnInput() { //angle of independent look axis bool isPressed = CVRInputManager.Instance.independentHeadTurn || CVRInputManager.Instance.independentHeadToggle; diff --git a/MenuScalePatch/format.json b/MenuScalePatch/format.json index 25e723d..7430e67 100644 --- a/MenuScalePatch/format.json +++ b/MenuScalePatch/format.json @@ -16,8 +16,8 @@ "requirements": [ "None" ], - "downloadlink": "https://github.com/NotAKidOnSteam/MenuScalePatch/releases/download/v4.2.4/MenuScalePatch.dll", + "downloadlink": "https://github.com/NotAKidOnSteam/MenuScalePatch/releases/download/v4.2.5/MenuScalePatch.dll", "sourcelink": "https://github.com/NotAKidOnSteam/MenuScalePatch/", - "changelog": "- Tweaked independent head turn implementation. Menu will now recenter after head has returned to target angle.", + "changelog": "- Fixed hitching & potential crash when opening menu after a long time of it being closed. Don't disable CohtmlView, only enable it.\n- Let game update menu position while its closed.\n- Tweaked independent head turn handling to ensure menu is correctly positioned on recenter if PlayerAnchorMenus is disabled.", "embedcolor": "804221" } \ No newline at end of file