mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-20 19:30:49 +00:00
unitframes: build new unitstr to promote leader
This commit is contained in:
@@ -730,6 +730,7 @@ function pfUI.uf:RightClickAction(unit)
|
|||||||
ToggleDropDownMenu(1, nil, getglobal("PartyMemberFrame" .. this.id .. "DropDown"), "cursor")
|
ToggleDropDownMenu(1, nil, getglobal("PartyMemberFrame" .. this.id .. "DropDown"), "cursor")
|
||||||
elseif unit == "raid" then
|
elseif unit == "raid" then
|
||||||
local name = this.lastUnit
|
local name = this.lastUnit
|
||||||
|
local unitstr = this.label .. this.id
|
||||||
FriendsDropDown.displayMode = "MENU"
|
FriendsDropDown.displayMode = "MENU"
|
||||||
FriendsDropDown.initialize = function() UnitPopup_ShowMenu(_G[UIDROPDOWNMENU_OPEN_MENU], "PARTY", unitstr, name, id) end
|
FriendsDropDown.initialize = function() UnitPopup_ShowMenu(_G[UIDROPDOWNMENU_OPEN_MENU], "PARTY", unitstr, name, id) end
|
||||||
ToggleDropDownMenu(1, nil, FriendsDropDown, "cursor")
|
ToggleDropDownMenu(1, nil, FriendsDropDown, "cursor")
|
||||||
|
|||||||
Reference in New Issue
Block a user