- Fixed bookmark for segments (shift+right click).
- Fixed an issue with Chat Tab Embed when embeding only one window.
This commit is contained in:
@@ -215,6 +215,9 @@ damage, healing, energy, misc = Details:GetAllActors (combat, actorname)
|
||||
returns all the four actor objects for the requested combat and actor.
|
||||
combat must be a combat object.
|
||||
|
||||
Details:UnpackDeathTable (deathTable)
|
||||
break a death table returning the data from it:
|
||||
playername, playerclass, deathtime, deathcombattime, deathtimestring, playermaxhealth, deathevents, lastcooldown = Details:UnpackDeathTable (deathTable)
|
||||
|
||||
|
||||
Container Object:
|
||||
|
||||
+1
-1
@@ -170,7 +170,7 @@ end
|
||||
window1:SaveMainWindowPosition()
|
||||
|
||||
local window2 = _detalhes:GetInstance (2)
|
||||
if (window2) then
|
||||
if (window2 and window2.baseframe) then
|
||||
if (window2.baseframe:GetParent() == ChatFrame) then
|
||||
--> need to detach
|
||||
_detalhes.chat_embed:ReleaseEmbed (true)
|
||||
|
||||
@@ -63,6 +63,19 @@
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function _detalhes:UnpackDeathTable (t)
|
||||
local deathevents = t[1]
|
||||
local deathtime = t[2]
|
||||
local playername = t[3]
|
||||
local playerclass = t[4]
|
||||
local playermaxhealth = t[5]
|
||||
local deathtimestring = t[6]
|
||||
local lastcooldown = t.last_cooldown
|
||||
local deathcombattime = t.dead_at
|
||||
|
||||
return playername, playerclass, deathtime, deathcombattime, deathtimestring, playermaxhealth, deathevents, lastcooldown
|
||||
end
|
||||
|
||||
--> get the fractional number representing the alphabetical letter
|
||||
function _detalhes:GetOrderNumber (who_name)
|
||||
|
||||
+1
-1
@@ -579,7 +579,7 @@ function _detalhes.switch:ShowMe (instancia)
|
||||
|
||||
if (not _detalhes.switch.segments_blocks) then
|
||||
|
||||
local segment_switch = function (segment, _, _, button)
|
||||
local segment_switch = function (self, button, segment)
|
||||
if (button == "LeftButton") then
|
||||
_detalhes.switch.current_instancia:TrocaTabela (segment)
|
||||
_detalhes.switch.CloseMe()
|
||||
|
||||
Reference in New Issue
Block a user