Hello, I'm writing an addon(basically bunch of scripts turned into an addon) which moves right action bars to middle, hides MainMenuBar textures and repositions MainMenuBar. Everything is working but when I enter and exit VehicleUI(e.g. DH's Rain from Above PvP talent) all my keybind texts, cd texts are disappearing. When I reload everything turns back to normal again. I have zero experience in LUA and WoW API aside from editing addons, I'm learning as I go so be gentle
. Here is the code;
Code:
MainMenuBarArtFrameBackground:Hide()
ActionBarUpButton:Hide()
ActionBarDownButton:Hide()
MainMenuBarArtFrame.LeftEndCap:Hide()
MainMenuBarArtFrame.RightEndCap:Hide()
MainMenuBarArtFrame.PageNumber:Hide()
StatusTrackingBarManager:Hide()
MainMenuBar:ClearAllPoints()
MainMenuBar:SetPoint("CENTER", UIParent, "CENTER", 18, -510)
MainMenuBar.SetPoint = function() end