Gotcha, yeah that the way the button bag works. It only displays the button inside the bag unless you tell nUI to not put it in there.
Try this:
Edit the buttonbag.lua file in nUI and add carbonite's button to this block of code in there:
Excludes =
{
["MiniMapMailFrame"] = true,
-- 5.0.1 Change Start - Frame name changes
--["MiniMapBattlefieldFrame"] = true,
--["MiniMapLFGFrame"] = true,
["QueueStatusMinimapButton"] = true,
-- 5.0.1 change End
["MinimapBackdrop"] = true,
["MiniMapPing"] = true,
["MiniMapCompassRing"] = true,
["MinimapZoomIn"] = true,
["MinimapZoomOut"] = true,
["MiniMapTracking"] = true,
["MiniMapWorldMapButton"] = true,
["GatherMiniNoteUpdateFrame"] = true,
["TimeManagerClockButton"] = true,
["FishingBuddyMinimapMenuButton"] = true,
["PoisonerMinimapButton"] = true,
["GameTimeFrame"] = false,
},
That should stop it from going in the button bag and keep it on the minimap, as long as you set the value to true to exclude it from the buttonbag. Let us know if it works and Im sure Scott will be fine with it being set up into the main nUI code.
|