From 33e2bca95d82f9e4d15772ade25f5faa6ff7c078 Mon Sep 17 00:00:00 2001
From: miepzerino <o.skotnik@gmail.com>
Date: Mon, 31 Mar 2025 21:26:04 +0000
Subject: [PATCH] removed debug.log from inventory scrollbar
---
Assets/Scripts/Inventory/InventoryDisplay.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Assets/Scripts/Inventory/InventoryDisplay.cs b/Assets/Scripts/Inventory/InventoryDisplay.cs
index dfd4f32..9624550 100644
--- a/Assets/Scripts/Inventory/InventoryDisplay.cs
+++ b/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
--
Gitblit v1.10.0