- Death Knight: Epidemic, Scourge Strike and Howling Blast now has a better description on the spell name.
- Fixed snap button showing when 'Hide Resize Buttons' are enabled. - Fixed title bar icons not hiding when 'Auto Hide Buttons' is enabled. - Several improvements to overall data, it should be more consistent now. - Details! now passes to identify the tank role of the player even when out of a party or raid. - Debug helper Details:DumpTable(table) now correctly shows the key name when it isn't a string. - Improvements done on the Bookmark config frame accessed by the options panel > display section. - New slash command: '/details spells'. - Statistics for Legion has been closed! You can access statistics from the orange gear > statistics.
This commit is contained in:
@@ -490,7 +490,7 @@ function DetailsFrameworkDropDownOptionClick (button)
|
||||
error ("Details! Framework: dropdown " .. button:GetParent():GetParent():GetParent().MyObject:GetName() .. " error: " .. errorText)
|
||||
end
|
||||
|
||||
--button.table.onclick (button:GetParent():GetParent():GetParent().MyObject, button.object.FixedValue, button.table.value)
|
||||
button:GetParent():GetParent():GetParent().MyObject:RunHooksForWidget ("OnOptionSelected", button:GetParent():GetParent():GetParent().MyObject, button.object.FixedValue, button.table.value)
|
||||
end
|
||||
|
||||
--> set the value of selected option in main object
|
||||
@@ -987,7 +987,8 @@ function DF:NewDropDown (parent, container, name, member, w, h, func, default, t
|
||||
|
||||
local scroll = _G [DropDownObject.dropdown:GetName() .. "_ScrollFrame"]
|
||||
|
||||
DropDownObject.scroll = DF:NewScrollBar (scroll, _G [DropDownObject.dropdown:GetName() .. "_ScrollFrame".."_ScrollChild"], -25, -18)
|
||||
DropDownObject.scroll = DF:NewScrollBar (scroll, _G [DropDownObject.dropdown:GetName() .. "_ScrollFrame".."_ScrollChild"], -18, -18)
|
||||
DF:ReskinSlider (scroll)
|
||||
|
||||
function DropDownObject:HideScroll()
|
||||
scroll.baixo:Hide()
|
||||
@@ -1000,8 +1001,6 @@ function DF:NewDropDown (parent, container, name, member, w, h, func, default, t
|
||||
scroll.slider:Show()
|
||||
end
|
||||
|
||||
--button_down_scripts (DropDownObject, scroll.slider, scroll.baixo)
|
||||
|
||||
DropDownObject:HideScroll()
|
||||
DropDownObject.label:SetSize (DropDownObject.dropdown:GetWidth()-40, 10)
|
||||
|
||||
@@ -1010,6 +1009,7 @@ function DF:NewDropDown (parent, container, name, member, w, h, func, default, t
|
||||
OnLeave = {},
|
||||
OnHide = {},
|
||||
OnShow = {},
|
||||
OnOptionSelected = {},
|
||||
}
|
||||
|
||||
DropDownObject.dropdown:SetScript ("OnShow", DetailsFrameworkDropDownOnShow)
|
||||
@@ -1110,13 +1110,15 @@ function DF:CreateNewDropdownFrame (parent, name)
|
||||
scroll:SetSize (150, 150)
|
||||
scroll:SetPoint ("topleft", f, "bottomleft", 0, 0)
|
||||
f.dropdownframe = scroll
|
||||
|
||||
|
||||
local child = CreateFrame ("frame", "$Parent_ScrollChild", scroll)
|
||||
child:SetSize (150, 150)
|
||||
child:SetPoint ("topleft", scroll, "topleft", 0, 0)
|
||||
child:SetBackdrop (child_backdrop)
|
||||
child:SetBackdropColor (0, 0, 0, 1)
|
||||
|
||||
DF:ApplyStandardBackdrop (child)
|
||||
|
||||
local selected = child:CreateTexture ("$parent_SelectedTexture", "BACKGROUND")
|
||||
selected:SetSize (150, 16)
|
||||
selected:Hide()
|
||||
|
||||
Reference in New Issue
Block a user