WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   advice with an SetTexture(nil) (https://www.wowinterface.com/forums/showthread.php?t=59107)

Vremon 04-24-22 05:08 AM

advice with an SetTexture(nil)
 
hello i want to know if its correct what im doing here :

FocusFrameNameBackground:SetTexture(nil)
TargetFrameNameBackground:SetTexture(nil)

im using these two to hide the texture behind name of target and focus frame it is lighty like this or it can cause problems?

Fizzlemizz 04-24-22 10:06 AM

That or just FocusFrameNameBackground:SetTexture() is fine.

Vremon 04-24-22 10:23 AM

Quote:

Originally Posted by Fizzlemizz (Post 340551)
That or just FocusFrameNameBackground:SetTexture() is fine.

thanks you - you mean i dont need to settexture() for both just for one?

Fizzlemizz 04-24-22 10:29 AM

You don't need to explicitly add the "nil" but you need to use :SetTexture on both.


All times are GMT -6. The time now is 08:41 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI