Change logs, Framework Update

This commit is contained in:
Tercio Jose
2024-06-07 11:07:24 -03:00
parent 234bbf458c
commit 68e15ac7ca
6 changed files with 40 additions and 6 deletions
+6 -1
View File
@@ -6,7 +6,12 @@ if (not detailsFramework or not DetailsFrameworkCanLoad) then
end
local unpack = unpack
local CreateFrame = CreateFrame
local G_CreateFrame = _G.CreateFrame
local CreateFrame = function (frameType , name, parent, template, id)
local frame = G_CreateFrame(frameType , name, parent, template, id)
detailsFramework:Mixin(frame, detailsFramework.FrameFunctions)
return frame
end
local PixelUtil = PixelUtil
local GetTime = GetTime
local GetSpellInfo = GetSpellInfo or function(spellID) if not spellID then return nil end local si = C_Spell.GetSpellInfo(spellID) if si then return si.name, nil, si.iconID, si.castTime, si.minRange, si.maxRange, si.spellID, si.originalIconID end end