unitframes: add more click actions

This commit is contained in:
shagu
2017-02-03 17:23:04 +01:00
parent 010f83e907
commit c0d33cd024
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ pfUI:RegisterModule("player", function ()
pfUI.uf.player:SetHeight(pfUI_config.unitframes.player.height + pfUI_config.unitframes.player.pheight + 2*default_border + spacing)
pfUI.uf.player:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOM", -75, 125)
pfUI.api:UpdateMovable(pfUI.uf.player)
pfUI.uf.player:RegisterForClicks('LeftButtonUp', 'RightButtonUp')
pfUI.uf.player:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up')
pfUI.uf.player:SetScript("OnEnter", function()
GameTooltip_SetDefaultAnchor(GameTooltip, this)
GameTooltip:SetUnit(this.label .. this.id)