private static void Postfix(GuiManager __instance) { if (!VRSystems.Current) { return; } Log.Info("Updating menu page resolution to HMD res..."); Resolution scaledHMDResolution = SteamVR_Camera.GetResolutionForAspect(16, 9); GuiManager.ScreenRes = scaledHMDResolution; GuiManager.ScreenCenter = new Vector2(GuiManager.ScreenRes.width / 2, GuiManager.ScreenRes.height / 2); __instance.CalcSafeArea(); }