Removing shield from the protected casts.
Hello!
I'd like to disable the shield texture for protected casts. The old classic texture looks terrible with the new UI and Blizzard didn't even bother to position it properly. Looking for a bored Addon Author to help me! Thanks in advance! :) |
Didn't test but it should work.
Lua Code:
|
Quote:
Lua Code:
|
I did mistake, replace "else" to "end".
|
Quote:
|
You could try IsVisible() in addition to IsShown()
https://wowpedia.fandom.com/wiki/API...Region_IsShown You could try just having the Hide() line. Seeing as the function is to show the frame, rather than check if it is shown first just tell it to hide it regardless as your code runs after their code. The test on whether it is Shown or not may be returning false for some reason. But the above may rectify this scenario. |
Quote:
The final version of the code for anyone interested ;) Lua Code:
|
Quote:
Quote:
|
Quote:
|
All times are GMT -6. The time now is 08:42 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI