Thread: kgPanels Help
View Single Post
02-19-10, 02:42 PM   #20
Aerials
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 92
ok, got a fix for the grey box....

change the script to:
local w = BT4BarStanceBarOverlay:GetWidth()
local h = BT4BarStanceBarOverlay:GetHeight()
if w >= 2 then
self:SetWidth(w)
self:SetHeight(h)
self:Show()
else
self:Hide()
end

bartender still creates the frame, but the width is 1, this checks if it's greater or equal to 2 and if it is it's rezised and shown, else hidden.
  Reply With Quote