fix ColorSwatch not clickable

This commit is contained in:
Crum
2018-11-09 21:02:30 -06:00
parent d18ecfe9c1
commit 6c7f2f43d1
+3
View File
@@ -73,10 +73,13 @@ local function LoadSkin()
for j = 1, UIDROPDOWNMENU_MAXBUTTONS do for j = 1, UIDROPDOWNMENU_MAXBUTTONS do
local button = _G["DropDownList"..i.."Button"..j] local button = _G["DropDownList"..i.."Button"..j]
local buttonHighlight = _G["DropDownList"..i.."Button"..j.."Highlight"] local buttonHighlight = _G["DropDownList"..i.."Button"..j.."Highlight"]
local colorSwatch = _G["DropDownList"..i.."Button"..j.."ColorSwatch"]
button:SetFrameLevel(buttonBackdrop:GetFrameLevel() + 1) button:SetFrameLevel(buttonBackdrop:GetFrameLevel() + 1)
buttonHighlight:SetTexture(1, 1, 1, 0.3) buttonHighlight:SetTexture(1, 1, 1, 0.3)
buttonHighlight:SetAllPoints(button) buttonHighlight:SetAllPoints(button)
colorSwatch:SetFrameLevel(button:GetFrameLevel() + 2)
if i == 1 then if i == 1 then
E:Point(buttonHighlight, "TOPLEFT", button, "TOPLEFT", -8, 0) E:Point(buttonHighlight, "TOPLEFT", button, "TOPLEFT", -8, 0)