diff --git a/AetherBags/AetherBags.csproj b/AetherBags/AetherBags.csproj index 5e4e5d9..0773422 100644 --- a/AetherBags/AetherBags.csproj +++ b/AetherBags/AetherBags.csproj @@ -21,14 +21,13 @@ - + PreserveNewest false - + PreserveNewest false - diff --git a/AetherBags/Media/Icons/download.png b/AetherBags/Assets/Icons/download.png similarity index 100% rename from AetherBags/Media/Icons/download.png rename to AetherBags/Assets/Icons/download.png diff --git a/AetherBags/Media/Icons/upload.png b/AetherBags/Assets/Icons/upload.png similarity index 100% rename from AetherBags/Media/Icons/upload.png rename to AetherBags/Assets/Icons/upload.png diff --git a/AetherBags/Media/Textures/alpha_background.png b/AetherBags/Media/Textures/alpha_background.png deleted file mode 100644 index c239751..0000000 Binary files a/AetherBags/Media/Textures/alpha_background.png and /dev/null differ diff --git a/AetherBags/Nodes/Color/ColorPreviewNode.cs b/AetherBags/Nodes/Color/ColorPreviewNode.cs index 848e6af..871c896 100644 --- a/AetherBags/Nodes/Color/ColorPreviewNode.cs +++ b/AetherBags/Nodes/Color/ColorPreviewNode.cs @@ -31,7 +31,7 @@ public class ColorPreviewNode : ResNode { IsVisible = true, TexturePath = GetAlphaTexturePath(), - WrapMode = WrapMode.Tile, + WrapMode = WrapMode.Stretch, }; _alphaLayer.AttachNode(this); @@ -88,7 +88,7 @@ public class ColorPreviewNode : ResNode private static string GetAlphaTexturePath() { var baseDir = Services.PluginInterface.AssemblyLocation.Directory!.FullName; - return Path.Combine(baseDir, "Media", "Textures", "alpha_background.png"); + return Path.Combine(baseDir, "Assets", "alpha_background.png"); } protected override void Dispose(bool disposing, bool isNativeDestructor) diff --git a/AetherBags/Nodes/CurrencyNode.cs b/AetherBags/Nodes/CurrencyNode.cs index 8ef2706..915ad98 100644 --- a/AetherBags/Nodes/CurrencyNode.cs +++ b/AetherBags/Nodes/CurrencyNode.cs @@ -1,3 +1,4 @@ +using System.Globalization; using System.Numerics; using AetherBags.Currency; using FFXIVClientStructs.FFXIV.Component.GUI; @@ -40,7 +41,7 @@ public class CurrencyNode : SimpleComponentNode _iconImageNode.IconId = value.IconId; _iconImageNode.Position = new Vector2(0f, 2f); - _countNode.String = value.Amount.ToString("N0"); + _countNode.String = value.Amount.ToString("N0", CultureInfo.InvariantCulture); _countNode.Position = new Vector2(_iconImageNode.Bounds.Right + 2f, 0f); // Limit > Capped > Normal