- 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:
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user