Make two inventories not dance around as much when opening/closing them (#35041)

* Make two inventories not dance around as much when opening/closing them

* Use .Any
This commit is contained in:
pathetic meowmeow
2025-04-19 10:40:49 -04:00
committed by GitHub
parent c813891342
commit 8e24308714
3 changed files with 67 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ public sealed class StorageInteractionTest : InteractionTest
{
var uid = ToClient(target);
var hotbar = GetWidget<HotbarGui>();
var storageContainer = GetControlFromField<Control>(nameof(HotbarGui.StorageContainer), hotbar);
var storageContainer = GetControlFromField<Control>(nameof(HotbarGui.SingleStorageContainer), hotbar);
return GetControlFromChildren<ItemGridPiece>(c => c.Entity == uid, storageContainer);
}
}