Toggling Bongos3 Menu and Bag Bars
In MazzleUI_Core.lua replace:
function MazzleUI:BarsToggle()
if (BBagBar) then
-- Bongos1
if (BBagBar:IsVisible()) then
BBar.Hide(BBar.IDToBar("bags"), 1)
BBar.Hide(BBar.IDToBar("menu"), 1)
BBar.Hide(BBar.IDToBar("key"), 1)
else
BBar.Show(BBar.IDToBar("bags"), 1)
BBar.Show(BBar.IDToBar("menu"), 1)
BBar.Show(BBar.IDToBar("key"), 1)
end
elseif (BBar) then
-- Bongos2
BBar:Get("bags"):ToggleFrame()
BBar:Get("menu"):ToggleFrame()
end
end
with:
function MazzleUI:BarsToggle()
MazzleUI:Execute("/bongos toggle menu")
MazzleUI:Execute("/bongos toggle bags")
end
Note: this is if you have the modified version that lets you use either Bongos 1 or 2. Too hot to look through for the 2.4 version fix, feel free to post if you know it.
|