From ae765c2c7b0fb01c3aaa18e90b0abf2e443f3470 Mon Sep 17 00:00:00 2001 From: Tyfon <29051038+tyfon7@users.noreply.github.com> Date: Mon, 10 Jun 2024 00:14:13 -0700 Subject: [PATCH] I understand rotation now --- Patches/InspectWindowResizePatches.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Patches/InspectWindowResizePatches.cs b/Patches/InspectWindowResizePatches.cs index b31b98b..3d312ff 100644 --- a/Patches/InspectWindowResizePatches.cs +++ b/Patches/InspectWindowResizePatches.cs @@ -122,7 +122,7 @@ namespace UIFixes restoreImage.transform.localScale = new Vector3(restoreImage.transform.localScale.x * 0.8f, restoreImage.transform.localScale.y * 0.8f, restoreImage.transform.localScale.z); Image restoreImage2 = UnityEngine.Object.Instantiate(restoreImage, restoreImage.transform.parent, false); - restoreImage2.transform.Rotate(180f, 180f, 0f); + restoreImage2.transform.Rotate(0f, 0f, 180f); Vector3 startPosition = restoreImage2.transform.localPosition; restoreImage.transform.localPosition = new Vector3(startPosition.x - 3f, startPosition.y - 3f, startPosition.z);