Fixing an issue with the loot display at the End of Mythic Plus panel

This commit is contained in:
Tercio Jose
2024-06-08 19:41:10 -03:00
parent 8d2269eaba
commit 9c56fa3376
2 changed files with 32 additions and 32 deletions
+29 -31
View File
@@ -269,6 +269,35 @@ function LibStub:IterateLibraries()end
---| "INCLUDE_NAME_PLATE_ONLY"
---| "MAW"
---@class privateaura_anchor : table
---@field unitToken unit
---@field auraIndex number
---@field parent frame
---@field showCountdownFrame boolean
---@field showCountdownNumbers boolean
---@field iconInfo privateaura_iconinfo?
---@field durationAnchor privateaura_anchorbinding?
---@class privateaura_iconinfo : table
---@field iconAnchor privateaura_anchorbinding
---@field iconWidth number
---@field iconHeight number
---@class privateaura_anchorbinding : table
---@field point anchorpoint
---@field relativeTo uiobject
---@field relativePoint anchorpoint
---@field offsetX number
---@field offsetY number
---@class privateaura_appliedsoundinfo : table
---@field unitToken unit
---@field spellID spellid
---@field soundFileName string?
---@field soundFileID number?
---@field outputChannel audiochannels?
---@class privateaura_soundid : number
---@class aurainfo : table
---@field applications number
@@ -761,37 +790,6 @@ LE_PARTY_CATEGORY_INSTANCE = true
--functions
C_ChatInfo = true
---@class privateaura_anchor : table
---@field unitToken unit
---@field auraIndex number
---@field parent frame
---@field showCountdownFrame boolean
---@field showCountdownNumbers boolean
---@field iconInfo privateaura_iconinfo?
---@field durationAnchor privateaura_anchorbinding?
---@class privateaura_iconinfo : table
---@field iconAnchor privateaura_anchorbinding
---@field iconWidth number
---@field iconHeight number
---@class privateaura_anchorbinding : table
---@field point anchorpoint
---@field relativeTo uiobject
---@field relativePoint anchorpoint
---@field offsetX number
---@field offsetY number
---@class privateaura_appliedsoundinfo : table
---@field unitToken unit
---@field spellID spellid
---@field soundFileName string?
---@field soundFileID number?
---@field outputChannel audiochannels?
---@class privateaura_soundid : number
C_UnitAuras = {}
---@param privateAuraAnchor privateaura_anchor
@@ -173,7 +173,7 @@ lootFrame:SetScript("OnEvent", function(self, event, ...)
effectiveILvl = effectiveILvl,
itemQuality = itemQuality, --this is a number
itemID = itemID,
time = time()
time = GetTime()
}
table.insert(lootFrame.LootCache[unitName], lootCacheTable)
@@ -982,6 +982,8 @@ function mythicDungeonFrames.ShowEndOfMythicPlusPanel()
readyFrame.RantingLabel = rantingLabel
end --end of creating of the readyFrame
--< end of mythic+ end of run frame creation >--
--mythic+ finished, showing the readyFrame for the user
local readyFrame = mythicDungeonFrames.ReadyFrame
readyFrame:Show()