From 47f643c6a1891a5d00c592f7489f20cd495d9cdb Mon Sep 17 00:00:00 2001 From: Vati Date: Sat, 28 Feb 2026 02:21:50 +0400 Subject: [PATCH] fix: stack item number position --- UI/ItemButton.lua | 6 +++--- UI/SettingsPopup.xml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/UI/ItemButton.lua b/UI/ItemButton.lua index bdb8fd7..ebea395 100644 --- a/UI/ItemButton.lua +++ b/UI/ItemButton.lua @@ -1107,10 +1107,10 @@ function Guda_ItemButton_SetItem(self, bagID, slotID, itemData, isBank, otherCha countText:ClearAllPoints() if iconSize < 44 then -- Smaller offset for small icons - countText:SetPoint("BOTTOMRIGHT", self, "BOTTOMRIGHT", -3, 3) + countText:SetPoint("BOTTOMRIGHT", self, "BOTTOMRIGHT", -1, 1) else -- Standard offset for larger icons - countText:SetPoint("BOTTOMRIGHT", self, "BOTTOMRIGHT", -8, 8) + countText:SetPoint("BOTTOMRIGHT", self, "BOTTOMRIGHT", -3, 3) end end @@ -1228,7 +1228,7 @@ function Guda_ItemButton_SetItem(self, bagID, slotID, itemData, isBank, otherCha self.categoryMarkIcon = self:CreateTexture(nil, "OVERLAY") end -- Size relative to icon (roughly 40% of icon display size) - local markSize = math.max(10, math.floor(iconSize * 0.3)) + 1 + local markSize = math.max(10, math.floor(iconSize * 0.3)) + 3 local shadowSize = markSize + 2 self.categoryMarkShadow:SetWidth(shadowSize) self.categoryMarkShadow:SetHeight(shadowSize) diff --git a/UI/SettingsPopup.xml b/UI/SettingsPopup.xml index 130028f..7d388d4 100644 --- a/UI/SettingsPopup.xml +++ b/UI/SettingsPopup.xml @@ -946,7 +946,7 @@ - + @@ -979,12 +979,12 @@ - + - + @@ -1013,7 +1013,7 @@ - +