Skip to content

Commit 5f4e60f

Browse files
committed
Updated creation of rect
1 parent 8547f80 commit 5f4e60f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Editor/Constrain.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static ConstrainedRect To(EditorWindow editorWindow)
1212

1313
public static ConstrainedRect To(Rect rect)
1414
{
15-
return new ConstrainedRect(rect);
15+
return ConstrainedRectPool.Create(rect);
1616
}
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)