mouseover macros now possible
This commit is contained in:
parent
d7f31dbdab
commit
0b9c33b867
@ -306,8 +306,7 @@ function Gladdy:CreateButton(i)
|
|||||||
--button.texture:SetAllPoints(button)
|
--button.texture:SetAllPoints(button)
|
||||||
--button.texture:SetTexture("Interface\\AddOns\\Gladdy\\Images\\Border_rounded_blp")
|
--button.texture:SetTexture("Interface\\AddOns\\Gladdy\\Images\\Border_rounded_blp")
|
||||||
|
|
||||||
local secure = CreateFrame("Button", "GladdyButton" .. i, button, "SecureActionButtonTemplate")
|
local secure = CreateFrame("Button", "GladdyButton" .. i, button, "SecureActionButtonTemplate, SecureHandlerEnterLeaveTemplate")
|
||||||
secure:RegisterForClicks("AnyUp")
|
|
||||||
secure:RegisterForClicks("AnyUp")
|
secure:RegisterForClicks("AnyUp")
|
||||||
secure:SetAttribute("*type1", "target")
|
secure:SetAttribute("*type1", "target")
|
||||||
secure:SetAttribute("*type2", "focus")
|
secure:SetAttribute("*type2", "focus")
|
||||||
|
Loading…
Reference in New Issue
Block a user