mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 04:30:01 +00:00
skin: fix dropdown menu backdrop and orientation
This commit is contained in:
@@ -552,8 +552,6 @@ function pfUI.api.SkinDropDown(frame, cr, cg, cb)
|
||||
local funcc = button:GetScript("OnClick")
|
||||
button:SetScript("OnClick", function()
|
||||
if funcc then funcc() end
|
||||
UIDropDownMenu_JustifyText("RIGHT", this:GetParent())
|
||||
DropDownList1:SetPoint("TOPLEFT", this:GetParent().backdrop, "BOTTOMLEFT", 0, -4)
|
||||
|
||||
local DropDownListWidth = DropDownList1:GetWidth()
|
||||
local DropDownFrameWidth = this:GetParent().backdrop:GetWidth()
|
||||
@@ -564,7 +562,6 @@ function pfUI.api.SkinDropDown(frame, cr, cg, cb)
|
||||
_G["DropDownList1Button" .. i]:SetWidth(_G["DropDownList1Button" .. i]:GetWidth() + diff)
|
||||
end
|
||||
end
|
||||
CreateBackdrop(DropDownList1Backdrop, nil, true, .8)
|
||||
end)
|
||||
|
||||
frame.button = button
|
||||
|
||||
Reference in New Issue
Block a user