Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-04-12, 07:08 PM   #1
A Defias Bandit
Join Date: Jun 2012
Posts: 3
UI Taint w/ SpellFlash

I recently made a change in Bitten's SpellFlash Library that one user reports causes issues when paired with nUI. Here are the error reported, and the changes I made. Maybe an nUI expert will understand how my changes would cause any issue?

The error:

1x [ADDON_ACTION_BLOCKED] AddOn "BittensSpellFlashLibrary" tried to call the protected function "nUI_TopRightBar_Button12:Show()".

My code:
local is = IsSpellOverlayed
local isnt = function() return false end
local show = ActionButton_ShowOverlayGlow
local noshow = function() end

function c.EnableDefaultProcHilighting()
	IsSpellOverlayed = is
	ActionButton_ShowOverlayGlow = show
	if LABFrame then 

function c.DisableDefaultProcHilighting()
	IsSpellOverlayed = isnt
	ActionButton_ShowOverlayGlow = noshow
	if LABFrame then 
"LABFrame" is the eventFrame in LibActionButton.

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Developer Chat » UI Taint w/ SpellFlash

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off