Thread: Command issue
View Single Post
05-16-09, 08:59 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Okay... I found the problem and it's an easy fix for those who don't want to wait for the update Sunday night.

Edit [ Interface > AddOns > nUI > Bars > nUI_BagBar.lua ] and go to line 193 where you'll see this code block...

Code:
        -- set the appropriate bag bar visibility
        
        if nUI_Options.bagbar == "off" then
            frame:SetAlpha( 0 );
            frame.alpha = 0;
        elseif nUI_Options.bagbar ~= "mouseover" then
            frame:SetAlpha( 1 );
            frame.alpha = 1;
            nUI_BagBar:SetScript( "OnUpdate", onBagBarUpdate );
        end 
... and add an "else" statement to it so it looks like this...

Code:
        -- set the appropriate bag bar visibility
        
        if nUI_Options.bagbar == "off" then
            frame:SetAlpha( 0 );
            frame.alpha = 0;
        elseif nUI_Options.bagbar ~= "mouseover" then
            frame:SetAlpha( 1 );
            frame.alpha = 1;
        else
            nUI_BagBar:SetScript( "OnUpdate", onBagBarUpdate );
        end
That should do the trick.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/