mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 01:46:03 +00:00
unitframes: add more click actions
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ pfUI:RegisterModule("target", function ()
|
||||
pfUI.uf.target:SetHeight(pfUI_config.unitframes.target.height + pfUI_config.unitframes.target.pheight + 2*default_border + spacing)
|
||||
pfUI.uf.target:SetPoint("BOTTOMLEFT", UIParent, "BOTTOM", 75, 125)
|
||||
pfUI.api:UpdateMovable(pfUI.uf.target)
|
||||
pfUI.uf.target:RegisterForClicks('LeftButtonUp', 'RightButtonUp')
|
||||
pfUI.uf.target:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up')
|
||||
pfUI.uf.target:SetScript("OnEnter", function()
|
||||
GameTooltip_SetDefaultAnchor(GameTooltip, this)
|
||||
GameTooltip:SetUnit(this.label .. this.id)
|
||||
|
||||
Reference in New Issue
Block a user