Fixes (10)
This commit is contained in:
+3
-3
@@ -1010,15 +1010,15 @@ function DF:CreateCoolTip()
|
||||
|
||||
if (CoolTip.OptionsTable.TextColorRight) then
|
||||
r, g, b, a = DF:ParseColors (CoolTip.OptionsTable.TextColorRight)
|
||||
menuButton.rightText:SetTextColor (r, g, b, a)
|
||||
DF:SetFontColor(menuButton.rightText, r, g, b, a)
|
||||
elseif (CoolTip.OptionsTable.TextColor) then
|
||||
r, g, b, a = DF:ParseColors (CoolTip.OptionsTable.TextColor)
|
||||
menuButton.rightText:SetTextColor (r, g, b, a)
|
||||
DF:SetFontColor(menuButton.rightText, r, g, b, a)
|
||||
else
|
||||
menuButton.rightText:SetTextColor (1, 1, 1, 1)
|
||||
end
|
||||
else
|
||||
menuButton.rightText:SetTextColor (r, g, b, a)
|
||||
DF:SetFontColor(menuButton.rightText, r, g, b, a)
|
||||
end
|
||||
|
||||
if (CoolTip.OptionsTable.TextSize and not rightTextTable [6]) then
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
local dversion = 339
|
||||
local dversion = 340
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary (major, minor)
|
||||
|
||||
|
||||
@@ -1551,10 +1551,10 @@ local right_box_on_click = function (self, button)
|
||||
end
|
||||
|
||||
local change_icon = function (self, icon1, icon2, icon3, icon4)
|
||||
self:SetNormalTexture (icon1)
|
||||
self:SetPushedTexture (icon2)
|
||||
self:SetDisabledTexture (icon3)
|
||||
self:SetHighlightTexture (icon4, "ADD")
|
||||
self:SetNormalTexture (icon1 or "")
|
||||
self:SetPushedTexture (icon2 or "")
|
||||
self:SetDisabledTexture (icon3 or "")
|
||||
self:SetHighlightTexture (icon4 or "", "ADD")
|
||||
end
|
||||
|
||||
function _detalhes.switch:NewSwitchButton (frame, index, x, y, rightButton)
|
||||
|
||||
Reference in New Issue
Block a user