mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
player: clean up dropdown code
This commit is contained in:
+3
-1
@@ -991,7 +991,9 @@ function pfUI.uf:ClickAction(button)
|
||||
-- dropdown menues
|
||||
if button == "RightButton" then
|
||||
if label == "player" then
|
||||
ToggleDropDownMenu(1, nil, pfUI.uf.player.Dropdown,"cursor")
|
||||
UIDropDownMenu_Initialize(PlayerFrameDropDown, pfUI.uf.player.dropdown.Init, "MENU")
|
||||
pfUI.uf.player.dropdown.rebuild = true
|
||||
ToggleDropDownMenu(1, nil, PlayerFrameDropDown, "cursor")
|
||||
elseif label == "target" then
|
||||
ToggleDropDownMenu(1, nil, TargetFrameDropDown, "cursor")
|
||||
elseif label == "pet" then
|
||||
|
||||
Reference in New Issue
Block a user