Action Bar Textures
http://i.imgur.com/ue8Pi.jpg
Is there a way a way to remove the textures seen on MultiBarBottomLeft, MultiBarBottomRight, and MultiBarRight? Always Show ActionBars is unticked. I know /reload hides them, but is there not a script that removes them so I do not have to /reload all the time :-D Thanks! CONCLUSION This fixes the problem: Lua Code:
|
Well, what actionbar addon are you using?
|
Quote:
But this problem I have had even before I used AddOns where it would bug like that. Is there a way to hide the texture? Edit: Here is the entire AddOn I use, incase you want to look at it: http://pastebin.com/5RQj4ccv |
Well, this is probably just going to show off my incredible amount of ignorance, but, if you open Blizzards options to the "ActionBars" page is the "Always Show ActionBars" option checked?
Had this problem in the MoP beta with Bartender (because Dominos hadn't been updated yet) and just thought this might be a similar problem. |
Quote:
/10chars |
Can there be done something like:
Code:
MultiBarBottomLeftButton1EmptyTexture:SetAlpha(0) |
Is this an occasional bug or is it always like this? You said it fixes itself after a reload.
You could try calling MultiActionBar_HideAllGrids() or, if that doesn't do it, loop through every action button and do something like.. Lua Code:
|
Quote:
And ehh.. :confused: I'm not really that sharp at writing code, could you write the above more in-depth? |
You might even try something like this to switch it back if it modifies the value..
Lua Code:
|
Quote:
|
Sorry, I meant to hook the metatable, let me edit that. It should work for every action button, however it won't do anything until their SetAttribute method is called, so they need to be hidden initially and then this is just to fix it if it changes later.
Alternatively you could try just outright setting the alpha of every texture to 0.. the textures don't appear to be named so you have to loop over button:GetRegions(). You're going to have to fine-tune this to only hide what you want hidden but something like this and then maybe check if the texture path contains UI-QuickSlot.. Lua Code:
|
Quote:
I will test it tomorrow it is getting late here :-) Thank you so far! :banana: |
Lua Code:
This did not work for me. It would bug out one button every time I tried, and if I tried moving the spell on that button it would show all grids. Lua Code:
This on the other hand worked very well, BUT the problem is it is impossible to put at spell from the spellbook etc. down to the Action Bar, since the textures never appear. So if there could be added a condition to only hide when not dragging anything (such as a macro, ability, trinket, etc.) then it would work very well :-) |
Alright, try this one, it should actually work this time.
Lua Code:
Plus I'm pretty sure my last example had an infinite loop in it, I'm surprised it worked at all. |
Quote:
I tried with CursorHasCompanion / EquipmentSet, but it seems they do not exist. Is there a way to make it work when anything is being dragged? Edit: I added CursorHasItem() to it, but how do I make it work with macros? Edit2: HAHA! :D I just randomly tried CursorHasMacro, and of course it worked! Edit3: Edited #1 to contain the working code. You have been a big help really, thank you so much! |
Okay for real this time, THIS one should work with everything. Probably.
Lua Code:
I added a check for the cvar too so it should honor the setting. |
Quote:
Once again, THANK YOU! :D |
It might be a good idea to add something like "or not self.action" to the "return end" statement at the top just in case it tries to apply to a button without that attribute for some reason.
Lua Code:
|
All times are GMT -6. The time now is 08:22 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI