Minimap button
anzz1 opened this issue ยท 0 comments
Since you already use libDataBroker, its simple enough to add a minimap button for easy bank access.
in Bagnon\components\brokerPlugin.lua
add to end of file:
local icon = LibStub:GetLibrary('LibDBIcon-1.0', true)
function Addon:OnInitialize()
if not Bagnon_MinimapButton then Bagnon_MinimapButton = {} end
icon:Register("Bagnon", Plugin, Bagnon_MinimapButton)
end
and then Bagnon_MinimapButton to Bagnon.toc SavedVariables so it saves the button position