0
\$\begingroup\$

I'm tyring to make a very simple WoW addon that hides the gryphons on either side of the main menu bar and hides the micro buttons in the lower right. The addon has one Lua script, main.lua:

-- main.lua
MainMenuBarArtFrame.LeftEndCap:Hide()
MainMenuBarArtFrame.RightEndCap:Hide()
MicroButtonAndBagsBar:Hide()
CharacterMicroButton:Hide()
SpellbookMicroButton:Hide()
TalentMicroButton:Hide()
AchievementMicroButton:Hide()
QuestLogMicroButton:Hide()
GuildMicroButton:Hide()
LFDMicroButton:Hide()
CollectionsMicroButton:Hide()
StoreMicroButton:Hide()
EJMicroButton:Hide()
MainMenuMicroButton:Hide()

This works perfectly, except the micro button for the shop will not go away. In game, if I enter /run StoreMicroButton:Hide() into the chat, the button will be hidden. Why will the script not hide this element? How can I fix it? Thanks!

\$\endgroup\$
2
  • \$\begingroup\$ TalentMicroButton:Hide()A (line break) chievementMicroButton:Hide() - is this typo in the file? \$\endgroup\$ Commented Mar 12, 2020 at 11:45
  • \$\begingroup\$ @trollingchar Oh, no, it’s not. I just messed up when typing out the question. Thank you for catching that! \$\endgroup\$ Commented Mar 12, 2020 at 16:56

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.