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.
|