deselect items that go into mags, allow partial moves when all items are the same and stackable

This commit is contained in:
Tyfon
2024-06-22 17:12:23 -07:00
parent df1803c385
commit cd0266a2a9
3 changed files with 30 additions and 22 deletions

View File

@@ -19,7 +19,7 @@ namespace UIFixes
public static void Postfix(GridWindow __instance)
{
var wrappedInstance = __instance.R();
if (Settings.AddContainerButtons.Value && wrappedInstance.LootItem.Int32_0 > 2) // Greater than 2 cells wide
if (Settings.AddContainerButtons.Value && wrappedInstance.LootItem.Int32_0 > 3) // Greater than 3 cells wide
{
Transform closeButton = __instance.transform.Find("Caption Panel/Close Button");
Image sortBackground = __instance.transform.Find("Caption Panel/Sort Button")?.GetComponent<Image>();