From 84cf4c0875e74bc93a9575372aa8e86b80ff00cb Mon Sep 17 00:00:00 2001 From: NotAKidoS <37721153+NotAKidOnSteam@users.noreply.github.com> Date: Mon, 26 Dec 2022 22:58:59 -0600 Subject: [PATCH] viewpoint correction --- MenuScalePatch/Main.cs | 2 ++ MenuScalePatch/format.json | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/MenuScalePatch/Main.cs b/MenuScalePatch/Main.cs index b8b38df..e8da0bd 100644 --- a/MenuScalePatch/Main.cs +++ b/MenuScalePatch/Main.cs @@ -36,6 +36,7 @@ public class MenuScalePatch : MelonMod ___needsQuickmenuPositionUpdate = false; return; } + PlayerSetup.Instance.HandleDesktopCameraPosition(true); SetMenuPosition(___quickMenu.transform, ____scaleFactor); ___needsQuickmenuPositionUpdate = false; } @@ -64,6 +65,7 @@ public class MenuScalePatch : MelonMod { if (!__state) return; + PlayerSetup.Instance.HandleDesktopCameraPosition(true); SetMenuPosition(__instance.transform, ___scaleFactor); ___needsMenuPositionUpdate = false; } diff --git a/MenuScalePatch/format.json b/MenuScalePatch/format.json index 0efb4ff..02f7943 100644 --- a/MenuScalePatch/format.json +++ b/MenuScalePatch/format.json @@ -6,7 +6,7 @@ "loaderversion": "0.5.7", "modtype": "Mod", "author": "NotAKidoS", - "description": "Corrects MM and QM position when avatar is scaled.", + "description": "Corrects MM and QM position when avatar is being scaled.\n\nDesktop menus will now always follow camera while open.", "searchtags": [ "menu", "scale", @@ -16,8 +16,8 @@ "requirements": [ "None" ], - "downloadlink": "https://github.com/NotAKidOnSteam/MenuScalePatch/releases/download/r4/MenuScalePatch.dll", + "downloadlink": "https://github.com/NotAKidOnSteam/MenuScalePatch/releases/download/v3.0.0/MenuScalePatch.dll", "sourcelink": "https://github.com/NotAKidOnSteam/MenuScalePatch/", - "changelog": "Removed collision scaling feature as it is now native.\nImplemented adjusted QM scaling for VR.\nAdded menu correction for Desktop so you can use menus while moving.", + "changelog": "Removed collision scaling feature as it is now native.\nAdjusted QM scaling for VR.\nAdded menu correction for Desktop so you can use menus while moving.\nImmediate viewpoint correction for Desktop during scaling.", "embedcolor": "804221" } \ No newline at end of file