Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 72ec340

Browse files
committed
1.5.4 cleanup
1 parent 883a870 commit 72ec340

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Unstripping/GUIUnstrip.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ private static GenericStack ScrollStack
4343
}
4444

4545
// ======= public methods ======= //
46-
46+
4747
// Fix for GUILayoutUtility.GetLastRect().
48-
// Calls UnstripExtensions.GetLastRectUnstripped.
48+
// Calls UnstripExtensions.GetLastUnstripped.
4949

5050
public static Rect GetLastRect()
5151
{

src/Unstripping/ScrollViewStateUnstrip.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ public class ScrollViewStateUnstrip
2727
public Vector2 scrollPosition;
2828
public bool apply;
2929

30+
// The code below is not unstripped.
31+
// This is a custom dictionary to allow for the manual implementation.
32+
3033
public static Dictionary<IntPtr, ScrollViewStateUnstrip> Dict = new Dictionary<IntPtr, ScrollViewStateUnstrip>();
3134

3235
public static ScrollViewStateUnstrip FromPointer(IntPtr ptr)

0 commit comments

Comments
 (0)