- 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:
+2
-1
@@ -18,7 +18,8 @@ do
|
||||
["WARRIOR"] = {0.78, 0.61, 0.43},
|
||||
["DEATHKNIGHT"] = {0.77, 0.12, 0.23},
|
||||
["MONK"] = {0.0, 1.00, 0.59},
|
||||
|
||||
["DEMONHUNTER"] = {0.64, 0.19, 0.79},
|
||||
|
||||
["aliceblue"] = {0.941176, 0.972549, 1, 1},
|
||||
["antiquewhite"] = {0.980392, 0.921569, 0.843137, 1},
|
||||
["aqua"] = {0, 1, 1, 1},
|
||||
|
||||
+3
-1
@@ -1,5 +1,5 @@
|
||||
|
||||
local dversion = 37
|
||||
local dversion = 41
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary (major, minor)
|
||||
|
||||
@@ -113,6 +113,8 @@ local embed_functions = {
|
||||
"CreateInCombatTexture",
|
||||
"CreateAnimationHub",
|
||||
"CreateAnimation",
|
||||
"CreateScrollBox",
|
||||
"CreateBorder",
|
||||
}
|
||||
|
||||
DF.table = {}
|
||||
|
||||
+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
|
||||
|
||||
@@ -655,7 +655,7 @@ function DF:NewTextEntry (parent, container, name, member, w, h, func, param1, p
|
||||
OnTextChanged = {},
|
||||
OnTabPressed = {},
|
||||
}
|
||||
|
||||
|
||||
TextEntryObject.editbox:SetScript ("OnEnter", OnEnter)
|
||||
TextEntryObject.editbox:SetScript ("OnLeave", OnLeave)
|
||||
TextEntryObject.editbox:SetScript ("OnHide", OnHide)
|
||||
|
||||
Reference in New Issue
Block a user