Thread Tools Display Modes
Prev Previous Post   Next Post Next
04/13/15, 02:17 PM   #1
blakbird
 
blakbird's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2015
Posts: 30
[Request] Remove Action Button Borders

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.
  Reply With Quote
 

ESOUI » AddOns » AddOn Search/Requests » [Request] Remove Action Button Borders


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off