mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
fix ColorSwatch not clickable
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user