mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
update tables
This commit is contained in:
@@ -821,7 +821,7 @@ function B:OnEvent()
|
||||
end
|
||||
|
||||
function B:UpdateGoldText()
|
||||
self.BagFrame.goldText:SetText(E:FormatMoney(GetMoney(), E.db["bags"].moneyFormat))
|
||||
self.BagFrame.goldText:SetText(E:FormatMoney(GetMoney(), E.db.bags.moneyFormat))
|
||||
end
|
||||
|
||||
function B:FormatMoney(amount)
|
||||
@@ -1530,7 +1530,7 @@ function B:CreateSellFrame()
|
||||
B.SellFrame.statusbar = CreateFrame("StatusBar", "ElvUIVendorGraysFrameStatusbar", B.SellFrame)
|
||||
E:Size(B.SellFrame.statusbar, 180, 16)
|
||||
E:Point(B.SellFrame.statusbar, "BOTTOM", B.SellFrame, "BOTTOM", 0, 4)
|
||||
B.SellFrame.statusbar:SetStatusBarTexture(E["media"].normTex)
|
||||
B.SellFrame.statusbar:SetStatusBarTexture(E.media.normTex)
|
||||
B.SellFrame.statusbar:SetStatusBarColor(1, 0, 0)
|
||||
E:CreateBackdrop(B.SellFrame.statusbar, "Transparent")
|
||||
|
||||
|
||||
@@ -606,17 +606,17 @@ function B.SortBags(...)
|
||||
for bagType, sortedBags in pairs(bagCache) do
|
||||
if bagType ~= "Normal" then
|
||||
B.Stack(sortedBags, sortedBags, B.IsPartial)
|
||||
B.Stack(bagCache["Normal"], sortedBags)
|
||||
B.Fill(bagCache["Normal"], sortedBags, B.db.sortInverted)
|
||||
B.Stack(bagCache.Normal, sortedBags)
|
||||
B.Fill(bagCache.Normal, sortedBags, B.db.sortInverted)
|
||||
B.Sort(sortedBags, nil, B.db.sortInverted)
|
||||
twipe(sortedBags)
|
||||
end
|
||||
end
|
||||
|
||||
if bagCache["Normal"] then
|
||||
B.Stack(bagCache["Normal"], bagCache["Normal"], B.IsPartial)
|
||||
B.Sort(bagCache["Normal"], nil, B.db.sortInverted)
|
||||
twipe(bagCache["Normal"])
|
||||
if bagCache.Normal then
|
||||
B.Stack(bagCache.Normal, bagCache.Normal, B.IsPartial)
|
||||
B.Sort(bagCache.Normal, nil, B.db.sortInverted)
|
||||
twipe(bagCache.Normal)
|
||||
end
|
||||
twipe(bagCache)
|
||||
twipe(bagGroups)
|
||||
|
||||
Reference in New Issue
Block a user