This commit is contained in:
Crum
2018-11-30 20:58:52 -06:00
parent 3b9951d1b9
commit e9ccde5332
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -807,7 +807,7 @@ end -- for
if not lib['hooked']['WhoFrame_Hide'] then if not lib['hooked']['WhoFrame_Hide'] then
lib['hooked']['WhoFrame_Hide'] = true lib['hooked']['WhoFrame_Hide'] = true
hooksecurefunc(WhoFrame, 'Hide', function(...) hooksecurefunc(WhoFrame, 'Hide', function(...)
lib['hook']['WhoFrame_Hide'](lib) lib['hook']['WhoFrame_Hide'](lib, unpack(arg))
end -- function end -- function
) )
end -- if end -- if
@@ -878,8 +878,8 @@ function lib:ProcessWhoResults()
local num local num
self.Total, num = GetNumWhoResults() self.Total, num = GetNumWhoResults()
for i=1, num do for i=1, num do
local charname, guildname, level, race, class, zone, nonlocalclass, sex = GetWhoInfo(i) local charname, guildname, level, race, class, zone = GetWhoInfo(i)
self.Result[i] = {Name=charname, Guild=guildname, Level=level, Race=race, Class=class, Zone=zone, NoLocaleClass=nonlocalclass, Sex=sex } self.Result[i] = {Name=charname, Guild=guildname, Level=level, Race=race, Class=class, Zone=zone}
end end
self:ReturnWho() self:ReturnWho()
+2 -1
View File
@@ -1075,7 +1075,8 @@ function CH:SetupChat()
DEFAULT_CHAT_FRAME:SetParent(LeftChatPanel) DEFAULT_CHAT_FRAME:SetParent(LeftChatPanel)
self:ScheduleRepeatingTimer("PositionChat", 1) -- self:ScheduleRepeatingTimer("PositionChat", 1)
E:Delay(0.05, function() self:PositionChat(true) end)
-- self:PositionChat(true) -- self:PositionChat(true)
end end