- Fixed window for report to Copy/Paste.
- Removed Report History from the report window. - Fixed tooltip not hiding after clicking the report button.
This commit is contained in:
+11
-4
@@ -6314,17 +6314,18 @@ DF.DataScrollFunctions = {
|
||||
line.Date = date
|
||||
line.Text = text
|
||||
|
||||
line.backdrop_color = self.options.backdrop_color or {.1, .1, .1, .3}
|
||||
line.backdrop_color_highlight = self.options.backdrop_color_highlight or {.3, .3, .3, .5}
|
||||
|
||||
return line
|
||||
end,
|
||||
|
||||
LineOnEnter = function (self)
|
||||
local parent = self:GetParent()
|
||||
self:SetBackdropColor (unpack (parent.options.backdrop_color_highlight))
|
||||
self:SetBackdropColor (unpack (self.backdrop_color_highlight))
|
||||
end,
|
||||
|
||||
LineOnLeave = function (self)
|
||||
local parent = self:GetParent()
|
||||
self:SetBackdropColor (unpack (parent.options.backdrop_color))
|
||||
self:SetBackdropColor (unpack (self.backdrop_color))
|
||||
end,
|
||||
|
||||
OnClick = function (self)
|
||||
@@ -6341,6 +6342,10 @@ DF.DataScrollFunctions = {
|
||||
else
|
||||
line.Text.text = data [2] or ""
|
||||
end
|
||||
|
||||
if (line:GetParent().OnUpdateLineHook) then
|
||||
DF:CoreDispatch ((line:GetName() or "ScrollBoxDataScrollUpdateLineHook") .. ":UpdateLineHook()", line:GetParent().OnUpdateLineHook, line, lineIndex, data)
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -6483,6 +6488,8 @@ function DF:CreateNewsFrame (parent, name, options, newsTable, db)
|
||||
newsScroll:SetPoint ("topleft", f, "topleft", 5, -30)
|
||||
end
|
||||
|
||||
f.NewsScroll = newsScroll
|
||||
|
||||
return f
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user