View Single Post
01-30-13, 02:45 AM   #12
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
I should have wrote this yesterday when I saw you guys beginning to fight.

Stop it.

It is an important topic (well the title is misleading but who cares).

If anyone else has some interesting stuff on fixing taints please let us know.

I have a question. Since I read spiel's explanation I'm now sure that this is causing my raid-invite issue (someone joins the party/raid while infight).

Lua Code:
  1. local crfm = _G["CompactRaidFrameManager"]
  2.     CompactRaidFrameManagerToggleButton:HookScript("OnClick", function(m)
  3.       if CompactRaidFrameManager.collapsed then
  4.         CompactRaidFrameManager:SetAlpha(0.2)
  5.       else
  6.         CompactRaidFrameManager:SetAlpha(1)
  7.       end
  8.     end)
  9.     CompactRaidFrameManager:SetAlpha(0.2)
  10.     CompactRaidFrameManagerToggleButton:SetScript("OnEnter", function(self)
  11.       GameTooltip:SetOwner(self, "ANCHOR_RIGHT")
  12.       GameTooltip:AddLine("RaidFrameManger", 0, 1, 0.5, 1, 1, 1)
  13.       if CompactRaidFrameManager.collapsed then
  14.         GameTooltip:AddLine("Click to open.", 1, 1, 1, 1, 1, 1)
  15.       else
  16.         GameTooltip:AddLine("Click to close.", 1, 1, 1, 1, 1, 1)
  17.       end
  18.       GameTooltip:Show()
  19.     end)
  20.     CompactRaidFrameManagerToggleButton:SetScript("OnLeave", function(self)
  21.       GameTooltip:Hide()
  22.     end)

I do not harm the raidframe manager in any way. I just added a hover functionality on top.

Regarding what I read I'm not allowed to touch that frame at all because I'm running in unsecure environment and touching it in any way will make it fail later on.

Is that a correct guess?

If so...how would someone add a hover functionality to the RaidFrameManager in a secure environment? Is that even possible?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote