skins/bags: move item score to topright position

Move score to topright position to avoid conflicts with item count.
This commit is contained in:
shagu
2022-11-14 13:31:40 +01:00
parent 48df724a4e
commit 754b4d53fa
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -372,7 +372,7 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function ()
if ShaguScore then
pfUI.bags[bag].slots[slot].frame.scoreText = pfUI.bags[bag].slots[slot].frame:CreateFontString(nil, "OVERLAY", "GameFontNormal")
pfUI.bags[bag].slots[slot].frame.scoreText:SetFont(pfUI.font_default, 12, "OUTLINE")
pfUI.bags[bag].slots[slot].frame.scoreText:SetPoint("BOTTOMRIGHT", 0, 0)
pfUI.bags[bag].slots[slot].frame.scoreText:SetPoint("TOPRIGHT", 0, 0)
end
end
+1 -1
View File
@@ -163,7 +163,7 @@ pfUI:RegisterSkin("Character", "vanilla:tbc", function ()
if not frame.scoreText then
frame.scoreText = frame:CreateFontString(nil, "OVERLAY", "GameFontNormal")
frame.scoreText:SetFont(pfUI.font_default, 12, "OUTLINE")
frame.scoreText:SetPoint("BOTTOMRIGHT", 0, 0)
frame.scoreText:SetPoint("TOPRIGHT", 0, 0)
end
end
end
+1 -1
View File
@@ -214,7 +214,7 @@ pfUI:RegisterSkin("Inspect", "vanilla", function ()
if not slot.scoreText then
slot.scoreText = slot:CreateFontString(nil, "OVERLAY", "GameFontNormal")
slot.scoreText:SetFont(pfUI.font_default, 12, "OUTLINE")
slot.scoreText:SetPoint("BOTTOMRIGHT", 0, 0)
slot.scoreText:SetPoint("TOPRIGHT", 0, 0)
end
local r,g,b = GetItemQualityColor(quality)