Garkin as been kind enough to help me out with a couple things I have been working on for my flat, minimalist UI. He gave me this snippet of code that removes the borders on the action buttons:
Code:
for slotNum = 3, 9 do
local button = ZO_ActionBar_GetButton(slotNum).button
button:SetNormalTexture("")
button:SetPressedTexture("")
button:SetDisabledTexture("")
end
If I run it as a script in the game, it works. Unfortunately, I am unable to figure out how to turn that script into a addon. I was able to put that code into
Luminary Action Bar at line 292 and it works. But, the problem I am having with both the script and the addon is that when I swap bars or get a loading screen, the buttons go back to having borders. I have to reload the UI or run the script every time to get those borders to disappear. I don't want to keep bugging Garkin with all my issues, so hopefully someone here is able to assist me with this.