from retail
This commit is contained in:
@@ -4,6 +4,7 @@ local AddonName, Private = ...
|
||||
local WeakAuras = WeakAuras
|
||||
local L = WeakAuras.L
|
||||
local prettyPrint = WeakAuras.prettyPrint
|
||||
-- local LGF = LibStub("LibGetFrame-1.0")
|
||||
|
||||
local profileData = {}
|
||||
profileData.systems = {}
|
||||
@@ -335,6 +336,7 @@ function WeakAuras.StartProfile(startType)
|
||||
Private.StopProfileSystem = StopProfileSystem
|
||||
Private.StopProfileAura = StopProfileAura
|
||||
Private.StopProfileUID = StopProfileUID
|
||||
-- LGF.StartProfile()
|
||||
end
|
||||
|
||||
local function doNothing()
|
||||
@@ -357,6 +359,7 @@ function WeakAuras.StopProfile()
|
||||
Private.StopProfileSystem = doNothing
|
||||
Private.StopProfileAura = doNothing
|
||||
Private.StopProfileUID = doNothing
|
||||
-- LGF.StopProfile()
|
||||
|
||||
currentProfileState = nil
|
||||
RealTimeProfilingWindow:UnregisterAllEvents()
|
||||
@@ -466,6 +469,13 @@ function WeakAuras.PrintProfile()
|
||||
PrintOneProfile(popup, k, profileData.systems[k], profileData.systems.wa.elapsed)
|
||||
end
|
||||
end
|
||||
|
||||
-- popup:AddText("")
|
||||
-- popup:AddText("|cff9900ffLibGetFrame:|r")
|
||||
-- for id, map in pairs(LGF.GetProfileData()) do
|
||||
-- PrintOneProfile(popup, id, map)
|
||||
-- end
|
||||
|
||||
popup:Show()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user