From 72ec34090d5a4ed6fd68cce87d3f4a1acc77f894 Mon Sep 17 00:00:00 2001 From: sinaioutlander <49360850+sinaioutlander@users.noreply.github.com> Date: Fri, 4 Sep 2020 21:51:38 +1000 Subject: [PATCH] 1.5.4 cleanup --- src/Unstripping/GUIUnstrip.cs | 4 ++-- src/Unstripping/ScrollViewStateUnstrip.cs | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Unstripping/GUIUnstrip.cs b/src/Unstripping/GUIUnstrip.cs index ea0df00..95a6ff8 100644 --- a/src/Unstripping/GUIUnstrip.cs +++ b/src/Unstripping/GUIUnstrip.cs @@ -43,9 +43,9 @@ namespace Explorer } // ======= public methods ======= // - + // Fix for GUILayoutUtility.GetLastRect(). - // Calls UnstripExtensions.GetLastRectUnstripped. + // Calls UnstripExtensions.GetLastUnstripped. public static Rect GetLastRect() { diff --git a/src/Unstripping/ScrollViewStateUnstrip.cs b/src/Unstripping/ScrollViewStateUnstrip.cs index 583f35c..560d263 100644 --- a/src/Unstripping/ScrollViewStateUnstrip.cs +++ b/src/Unstripping/ScrollViewStateUnstrip.cs @@ -27,6 +27,9 @@ namespace Explorer public Vector2 scrollPosition; public bool apply; + // The code below is not unstripped. + // This is a custom dictionary to allow for the manual implementation. + public static Dictionary Dict = new Dictionary(); public static ScrollViewStateUnstrip FromPointer(IntPtr ptr)