From 8a496ae6f119ec022ca3017d8f7b3b1eff7f7632 Mon Sep 17 00:00:00 2001 From: Shawrkie Williams Date: Sat, 20 Dec 2025 09:31:17 -0500 Subject: [PATCH] Revert property unification for clarity --- AetherBags/Addons/AddonInventoryWindow.cs | 2 +- AetherBags/Nodes/WrappingGridNode.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AetherBags/Addons/AddonInventoryWindow.cs b/AetherBags/Addons/AddonInventoryWindow.cs index c005e46..2f67fd4 100644 --- a/AetherBags/Addons/AddonInventoryWindow.cs +++ b/AetherBags/Addons/AddonInventoryWindow.cs @@ -44,7 +44,7 @@ public class AddonInventoryWindow : NativeAddon { Position = ContentStartPosition, Size = ContentSize, - ItemSpacing = CategorySpacing, + HorizontalSpacing = CategorySpacing, VerticalSpacing = CategorySpacing, TopPadding = 4.0f, BottomPadding = 4.0f, diff --git a/AetherBags/Nodes/WrappingGridNode.cs b/AetherBags/Nodes/WrappingGridNode.cs index 5e2629a..f0e0efd 100644 --- a/AetherBags/Nodes/WrappingGridNode.cs +++ b/AetherBags/Nodes/WrappingGridNode.cs @@ -9,6 +9,7 @@ namespace AetherBags.Nodes; public sealed class WrappingGridNode : LayoutListNode where T : NodeBase { + public float HorizontalSpacing { get; set; } = 10f; public float VerticalSpacing { get; set; } = 10f; public float TopPadding { get; set; } = 0f; @@ -50,7 +51,7 @@ public sealed class WrappingGridNode : LayoutListNode where T : NodeBase _rowIndex.EnsureCapacity(count); float availableWidth = Width; - float hSpace = ItemSpacing; + float hSpace = HorizontalSpacing; float vSpace = VerticalSpacing; float startX = FirstItemSpacing;