0
@@ -29,10 +29,8 @@ function Panda:CreateCutGreenBluePanel()
0
icon:SetTexture(texture)
0
- local text = f:CreateFontString(nil, "ARTWORK", "GameFontNormalSmall")
0
- text:SetPoint("TOP", icon, "BOTTOM")
0
- local price = Panda:GetAHBuyout(id)
0
- text:SetText(GS(price))
0
+ f.text = f:CreateFontString(nil, "ARTWORK", "GameFontNormalSmall")
0
+ f.text:SetPoint("TOP", icon, "BOTTOM")
0
local count = f:CreateFontString(nil, "ARTWORK", "NumberFontNormalSmall")
0
@@ -149,10 +147,8 @@ function Panda:CreateCutMetaPanel()
0
icon:SetTexture(texture)
0
- local text = f:CreateFontString(nil, "ARTWORK", "GameFontNormalSmall")
0
- text:SetPoint("TOP", icon, "BOTTOM")
0
- local price = Panda:GetAHBuyout(id)
0
- text:SetText(G(price))
0
+ f.text = f:CreateFontString(nil, "ARTWORK", "GameFontNormalSmall")
0
+ f.text:SetPoint("TOP", icon, "BOTTOM")
0
local count = f:CreateFontString(nil, "ARTWORK", "NumberFontNormalSmall")
0
count:SetPoint("BOTTOMRIGHT", icon, "BOTTOMRIGHT", -2, 2)
0
@@ -244,10 +240,8 @@ function Panda:CreateCutPurplePanel()
0
icon:SetTexture(texture)
0
- local text = f:CreateFontString(nil, "ARTWORK", "GameFontNormalSmall")
0
- text:SetPoint("TOP", icon, "BOTTOM")
0
- local price = Panda:GetAHBuyout(id)
0
- text:SetText(G(price))
0
+ f.text = f:CreateFontString(nil, "ARTWORK", "GameFontNormalSmall")
0
+ f.text:SetPoint("TOP", icon, "BOTTOM")
0
local count = f:CreateFontString(nil, "ARTWORK", "NumberFontNormalSmall")
0
count:SetPoint("BOTTOMRIGHT", icon, "BOTTOMRIGHT", -2, 2)
0
@@ -337,10 +331,18 @@ function Panda:GemCutBagUpdate()
0
for id,f in pairs(cutframes) do
0
local count = GetItemCount(id)
0
f.count:SetText(count > 0 and count or "")
0
+ local price = Panda:GetAHBuyout(id)
0
+ f.text:SetText(GS(price))
0
for id,f in pairs(rawframes) do
0
local count = GetItemCount(id)
0
f.count:SetText(count > 0 and count or "")
0
+ local price = Panda:GetAHBuyout(id)
0
+ f.text:SetText(GS(price))
Comments
No one has commented yet.