i tried what they show for manual at the link in Interface/AddOns/Mapster/Config.lua
and this code seems to work. hope it helps!
local aboutText = "Mapster";
local mouseButtonNote = "\nYour Map, Improved";
AddonCompartmentFrame:RegisterAddon({
text = aboutText,
icon = "Interface/AddOns/Mapster",
notCheckable = true,
func = function(button, menuInputData, menu)
Settings.OpenToCategory("Mapster")
end,
funcOnEnter = function(button)
MenuUtil.ShowTooltip(button, function(tooltip)
tooltip:SetText(aboutText .. mouseButtonNote)
end)
end,
funcOnLeave = function(button)
MenuUtil.HideTooltip(button)
end,
})
As per: https://warcraft.wiki.gg/wiki/Addon_compartment
a new feature with DF was the addons compartment for easy access to add on configs without cluttering the minimap
would it be possible to use it?
i tried what they show for manual at the link in Interface/AddOns/Mapster/Config.lua
and this code seems to work. hope it helps!