- 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:
+12
-1
@@ -1149,8 +1149,17 @@ end
|
||||
local pickcolor_callback = function (self, r, g, b, a, button)
|
||||
a = abs (a-1)
|
||||
button.MyObject.color_texture:SetVertexColor (r, g, b, a)
|
||||
button.MyObject:color_callback (r, g, b, a)
|
||||
|
||||
--> safecall
|
||||
--button.MyObject:color_callback (r, g, b, a)
|
||||
local success, errorText = pcall (button.MyObject.color_callback, button.MyObject, r, g, b, a)
|
||||
if (not success) then
|
||||
error ("Details! Framework: colorpick " .. (self:GetName() or "-NONAME-") .. " error: " .. errorText)
|
||||
end
|
||||
|
||||
button.MyObject:RunHooksForWidget ("OnColorChanged", button.MyObject, r, g, b, a)
|
||||
end
|
||||
|
||||
local pickcolor = function (self, alpha, param2)
|
||||
local r, g, b, a = self.MyObject.color_texture:GetVertexColor()
|
||||
a = abs (a-1)
|
||||
@@ -1181,6 +1190,8 @@ function DF:NewColorPickButton (parent, name, member, callback, alpha, button_te
|
||||
button.Cancel = colorpick_cancel
|
||||
button.SetColor = set_colorpick_color
|
||||
|
||||
button.HookList.OnColorChanged = {}
|
||||
|
||||
if (not button_template) then
|
||||
button:InstallCustomTexture()
|
||||
button:SetBackdrop ({edgeFile = [[Interface\Tooltips\UI-Tooltip-Border]], edgeSize = 6,
|
||||
|
||||
Reference in New Issue
Block a user