View Single Post
08-11-20, 10:25 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
I think there was a cvar that handled that .. I've not noticed it myself but will have to check it when I log in there later ( when it cools down )

In nUI we have this code that tells us to create the grid on our custom buttons.

if event == "ACTIONBAR_SHOWGRID" then overlay.layers.grid:SetAlpha( 1 );
elseif event == "ACTIONBAR_HIDEGRID" then overlay.layers.grid:SetAlpha( 0 );

I also have a plugin that uses the always show grid option ( cvar )

local uiAlwaysShowActionBars = GetCVar("alwaysShowActionBars");

Then dependant on that setting it either forces the grid to show or let the events handle it.

Of course they may have changed this in beta, so like I said, I will take a look later.
__________________
  Reply With Quote