View Single Post
01-12-24, 02:34 PM   #8
jlrm365
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 113
Originally Posted by Fizzlemizz View Post
The Blizzard UI with the exception of LOD addons is loaded before 3rd party addons which means yoiu don't need to create a frame and wait for an event to do what you are wanting.

That asside, I was obviously having a bad day yesterday, OnShow won't fire until after a frame has been hidden in order to actually Show.

This would be your entire addon:
Lua Code:
  1. AddonCompartmentFrame:SetScript("OnShow", function(self)
  2.     self:Hide()
  3. end)
  4. AddonCompartmentFrame:Hide()
  5. ExpansionLandingPageMinimapButton:SetScript("OnShow", function(self)
  6.     self:Hide()
  7. end)
  8. ExpansionLandingPageMinimapButton:Hide()

Added the OnShow/Hide for ExpansionLandingPageMinimapButton (for characters leveling into an expansion where it becomes available)
Very kind and much appreciated. I'm on my way out, but will edit this response when I've had time to fire the game up again.

EDIT: It works, just as I had hoped. The big dragon isles summary button (bottom left) and the small addons button (top right) are gone. Combining this with HidingBar, the minimap area looks CLEAN!

Thanks for the time!

Last edited by jlrm365 : 01-12-24 at 09:59 PM. Reason: Feedback
  Reply With Quote