WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Technical Support (https://www.wowinterface.com/forums/forumdisplay.php?f=92)
-   -   new patch and console bar (https://www.wowinterface.com/forums/showthread.php?t=32667)

phatbasterd 05-22-10 05:12 PM

Top bar not scaling after new update
 
I downloaded latest update today and the top command bar no longer scales with fubar. Any ideas?

spiel2001 05-22-10 07:37 PM

Nothing changed in that area at all. The only real code change was in the status bar code. I can't think of any reason there would be a difference in the FuBar integration.

Can you post a screen shot of what you're seeing please? (use the paperclip icon in the message editor or scroll down the message editor page and use the "Manage Attachments" button)

Beerthug 05-23-10 12:11 AM

new patch and console bar
 
i use one of the arts i think glossy black..where the console is moved down to be above the action bars...

with new patch its back at the top and /nui movers doesnt let me put it back down..its stuck at the top (where i cant stand it)...any ideas?

Varrgas 05-23-10 01:57 AM

Yes, it's correct, with an holder version of Fubar or the last update, the top art bar does not scale .

Katana22 05-23-10 04:01 AM

As above cant move top console bar. I have 5.06.18 (Plus) installed.

spiel2001 05-23-10 07:43 AM

Okay -- I do see this problem. Not sure what's up... I'm looking into it.

spiel2001 05-23-10 07:59 AM

Found it.

I'm going to want to wait a day or two before I put out a fix for it in case I need to put out a fix to go with the new HUD function. So, in the interim, if you want to fix the problem, you can edit the file [ Interface > AddOns > nUI > Bars > nUI_MicroMenu.lua ] with any plain text editor and replace the nUI_MicroMenu.applyAnchor method with the following code block...

Code:

nUI_MicroMenu.applyAnchor = function( anchor )
   
    if anchor or nUI_MicroMenu.anchor then
       
        local anchor      = anchor or nUI_MicroMenu.anchor;
        local xOfs        = (anchor.xOfs or 0) * nUI.hScale;
        local yOfs        = (anchor.yOfs or 0) * nUI.vScale;
        local anchor_pt  = anchor.anchor_pt or "CENTER";
        local relative_to = anchor.relative_to or nUI_MicroMenu:GetParent() or UIParent;
        local relative_pt = anchor.relative_pt or anchor_pt;
   
        nUI_MicroMenu.anchor = anchor;
       
        if nUI_MicroMenu.anchor_pt  ~= anchor.anchor_pt
        or nUI_MicroMenu.relative_to ~= anchor.relative_to
        or nUI_MicroMenu.relative_pt ~= anchor.relative_pt
        or nUI_MicroMenu.xOfs        ~= xOfs
        or nUI_MicroMenu.yOfs        ~= yOfs
        then
       
            nUI_MicroMenu.anchor_pt  = anchor.anchor_pt;
            nUI_MicroMenu.relative_to = anchor.relative_to;
            nUI_MicroMenu.realtive_pt = anchor.relative_pt;
            nUI_MicroMenu.xOfs        = xOfs;
            nUI_MicroMenu.yOfs        = yOfs;

            if nUI_MoverFrames[nUI_MicroMenu] then
                nUI_MoverFrames[nUI_MicroMenu].ClearAllPoints( nUI_MicroMenu );
                nUI_MoverFrames[nUI_MicroMenu].SetPoint( nUI_MicroMenu, anchor_pt, relative_to, relative_pt, xOfs, yOfs );           
               
            else
                nUI_MicroMenu:ClearAllPoints();
                nUI_MicroMenu:SetPoint( anchor_pt, relative_to, relative_pt, xOfs, yOfs );
            end
           
        end   
    end
end


Necrosir 05-23-10 12:27 PM

i tryed the code but i lost player frames and the micromenu.

Beerthug 05-23-10 12:48 PM

oh yaeh..no way am i gonna mess with that..im clueless about code


All times are GMT -6. The time now is 04:07 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI