mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
skins/bags: move item score to topright position
Move score to topright position to avoid conflicts with item count.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user