dropdown border change
This commit is contained in:
@@ -81,7 +81,15 @@ function m.LOAD()
|
||||
local ret = {aux.orig.ToggleDropDownMenu(unpack(arg))}
|
||||
local dropdown = getglobal(arg[4] or '') or this:GetParent()
|
||||
if strfind(dropdown:GetName() or '', 'aux_frame') then
|
||||
m.set_content_style(DropDownList1Backdrop)
|
||||
DropDownList1Backdrop:SetBackdrop({})
|
||||
DropDownList1Backdrop.border = DropDownList1Backdrop.border or DropDownList1Backdrop:CreateTexture()
|
||||
DropDownList1Backdrop.border:SetTexture(1,1,1,0.02)
|
||||
DropDownList1Backdrop.border:SetPoint('TOPLEFT', -1.5, 1.5)
|
||||
DropDownList1Backdrop.border:SetPoint('BOTTOMRIGHT', 1.5, -1.5)
|
||||
DropDownList1Backdrop.border:SetBlendMode('ADD')
|
||||
DropDownList1Backdrop.backdrop = DropDownList1Backdrop.backdrop or DropDownList1Backdrop:CreateTexture()
|
||||
DropDownList1Backdrop.backdrop:SetTexture(unpack(m.color.content.backdrop))
|
||||
DropDownList1Backdrop.backdrop:SetAllPoints()
|
||||
DropDownList1Backdrop:SetBackdropBorderColor(1, 1, 1, 0.03)
|
||||
DropDownList1:SetWidth(dropdown:GetWidth() * 0.9)
|
||||
DropDownList1:SetHeight(DropDownList1:GetHeight() - 10)
|
||||
|
||||
Reference in New Issue
Block a user