mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-31 16:06:57 +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:
@@ -122,7 +122,7 @@ pfUI:RegisterModule("thirdparty-vanilla", function()
|
||||
-- remove red background on some buttons
|
||||
for i,v in ipairs({b:GetRegions()}) do
|
||||
if v.SetTexture and i == 1 then
|
||||
v:SetTexture(0,0,0,0)
|
||||
v:SetColorTexture(0,0,0,0)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user