View Single Post
07-06-16, 06:26 PM   #5
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
Edit: It appears to work as expected in Legion beta but not 6.2.4.

I agree you should but, explicitly setting "*type1", "*type2" to nil or "assist" I still get left/target, right/popup.

I was under the impression they actually had to be explicitly set before the buttons did anything but I see:

Code:
function SecureUnitButton_OnLoad(self, unit, menufunc)
    self:SetAttribute("*type1", "target");
    self:SetAttribute("*type2", "menu");
    self:SetAttribute("unit", unit);
    self.menu = menufunc;
end
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 07-07-16 at 01:26 AM.
  Reply With Quote