Assets/Scripts/Inventory/InventoryDisplay.cs | ●●●●● patch | view | raw | blame | history |
Assets/Scripts/Inventory/InventoryDisplay.cs
@@ -205,7 +205,7 @@ var scrollrect = itemDescription.transform.parent.parent.GetComponent<ScrollRect>(); if (scrollrect != null) { Debug.Log("Resetting scroll position"); //Debug.Log("Resetting scroll position"); scrollrect.verticalNormalizedPosition = 1; // 0 = top, 1 = bottom } // Reset the content's position