Not sure if you're the same person that asked in discord but you may find
https://www.wowinterface.com/downloa...atMinimap.html
helpful (it's not a drawer but it auto hides buttons when you move your mouse away from the minimap and puts it back when you get back over it - and it works for all buttons not just libdbicon compliant ones)