- Fixing Slash and GBoM on dungeon encounters.

- Solving problems if somebody enter on a ongoing dungeon and have to detect already applyied buffs.
- If the buff owner isn't found, try to detect by unitaura query.
- framework update to v41.
This commit is contained in:
Tercio
2016-08-19 20:10:28 -03:00
parent 76ccb4a73f
commit 5cab4976bd
10 changed files with 720 additions and 399 deletions
+6 -1
View File
@@ -3050,8 +3050,11 @@ local gframe_update = function (self, lines)
end
end
self.MaxValue = max_value
local o = 1
local lastvalue = self:GetHeight()/2
max_value = math.max (max_value, 0.0000001)
for i = 1, min (amtlines, self._maxlines) do
@@ -3096,6 +3099,8 @@ function DF:CreateGFrame (parent, w, h, linewidth, onenter, onleave, member, nam
f.Reset = gframe_reset
f.UpdateLines = gframe_update
f.MaxValue = 0
f._lines = {}
f._onenter_line = onenter
@@ -3522,7 +3527,7 @@ DF.ScrollBoxFunctions.Refresh = function (self)
local okay, totalLines = pcall (self.refresh_func, self, self.data, offset, #self.Frames)
if (not okay) then
error ("Details! FrameWork: Refresh(): " .. result)
error ("Details! FrameWork: Refresh(): " .. totalLines)
end
for _, frame in ipairs (self.Frames) do