- fixed issue when reporting a custom heal attribute.

- fixed problem with dps with isn't showing after a new combat start.
- fixed icon problem on actor details panel.
- fixed a rare issue when switching between healing and damage throws a lua error.
- fixed custom list which wasn't showing the correct custom selected.
- added single click report for damage prevented.
- added a alert when data share is running.
- added single click report for cooldowns.
- cooldowns tooltip now show 15 cooldowns up from 3.
- added API: _detalhes:GetEncounterEqualize (mapid, bossindex)
- added API CoolTip options: "MinWidth".
This commit is contained in:
Tercio
2013-10-08 18:12:25 -03:00
parent 3c1e8b784d
commit 7c93260db7
18 changed files with 370 additions and 49 deletions
+20 -3
View File
@@ -65,6 +65,7 @@ function DetailsCreateCoolTip()
["IconSize"] = true,
["HeightAnchorMod"] = true,
["WidthAnchorMod"] = true,
["MinWidth"] = true,
["FixedWidth"] = true,
["FixedHeight"] = true,
["FixedWidthSub"] = true,
@@ -96,6 +97,7 @@ function DetailsCreateCoolTip()
["IconSize"] = nil,
["HeightAnchorMod"] = nil,
["WidthAnchorMod"] = nil,
["MinWidth"] = nil,
["FixedWidth"] = nil,
["FixedHeight"] = nil,
["FixedWidthSub"] = nil,
@@ -978,7 +980,12 @@ function DetailsCreateCoolTip()
if (not CoolTip.OptionsTable.FixedWidth) then
if (CoolTip.Type == 2) then --> with bars
frame1:SetWidth (frame1.w + 34)
if (CoolTip.OptionsTable.MinWidth) then
local w = frame1.w + 34
frame1:SetWidth (math.max (w, CoolTip.OptionsTable.MinWidth))
else
frame1:SetWidth (frame1.w + 34)
end
else
--> width stability check
local width = frame1.w + 24
@@ -987,7 +994,12 @@ function DetailsCreateCoolTip()
else
CoolTip.LastSize = width
end
frame1:SetWidth (width)
if (CoolTip.OptionsTable.MinWidth) then
frame1:SetWidth (math.max (width, CoolTip.OptionsTable.MinWidth))
else
frame1:SetWidth (width)
end
end
end
@@ -1111,7 +1123,12 @@ function DetailsCreateCoolTip()
end
if (not CoolTip.OptionsTable.FixedWidth) then
frame1:SetWidth (frame1.w + 24)
if (CoolTip.OptionsTable.MinWidth) then
local w = frame1.w + 24
frame1:SetWidth (math.max (w, CoolTip.OptionsTable.MinWidth))
else
frame1:SetWidth (frame1.w + 24)
end
end
if (CoolTip.OptionsTable.FixedHeight) then