View Single Post
09-30-17, 06:45 PM   #9
Kkthnx
A Cobalt Mageweaver
 
Kkthnx's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2011
Posts: 247
Okay okay. I am dumb. Figured it out.

This code is preventing the clicks.
Lua Code:
  1. self:SetScript("OnEnter", function()
  2.         ShowUIPanel(GameTooltip)
  3.         GameTooltip:SetOwner(self, "ANCHOR_NONE")
  4.         GameTooltip:SetUnit(self.unit)
  5.         GameTooltip:Show()
  6.     end)
  7.     self:SetScript("OnLeave", function()
  8.         GameTooltip:Hide()
  9.     end)
  10.     self.hooked = true
__________________
Success isn't what you've done compared to others. Success is what you've done compared to what you were made to do.

Last edited by Kkthnx : 09-30-17 at 07:01 PM.
  Reply With Quote