mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-01 00:16:56 +00:00
Fill textures with SetColorTexture instead of color-form SetTexture
ClassicAPI's SetColorTexture is the same engine call as SetTexture(r, g, b [, a]) under the name that says what it does. 83 calls across 25 files, renamed only.
This commit is contained in:
+1
-1
@@ -457,7 +457,7 @@ pfUI:RegisterModule("chat", function ()
|
||||
|
||||
-- hide textures
|
||||
for j,v in ipairs({tab:GetRegions()}) do
|
||||
if j==5 then v:SetTexture(0,0,0,0) end
|
||||
if j==5 then v:SetColorTexture(0,0,0,0) end
|
||||
v:SetHeight(C.global.font_size+default_border*2)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user