Equip Recommended Gear

Equip Recommended Gear

3.5k Downloads

addon blocks moving the character frame

Numynum opened this issue ยท 1 comments

commented

this addon seems to cause issues when moving the character frame, e.g. with blizzmove
see Kiatra/BlizzMove#124

I'm pretty sure removing this SetPoint('CENTER') fixes it (

app.Button.Tooltip:SetPoint("CENTER")
)
additionally, there's no need for your button to inherit SecureActionButtonTemplate, especially since you replace the OnClick script handler
removing that, would be a good idea ๐Ÿ™‚

commented

You are entirely right, not sure why I had a double SetPoint() in there to begin with. Fixed with 732f50c.

As for your advice on the SecureActionButtonTemplate, I always thought buttons had to have at least 1 template, and I'd copied this from another project's Cooking Fire button without thinking about it too much. This is now rectified with ab17823, thank you for the advice!