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:
Brues
2026-10-30 19:48:48 -05:00
parent 6469a557ff
commit f7680ded0b
25 changed files with 83 additions and 83 deletions
+2 -2
View File
@@ -16,14 +16,14 @@ pfUI:RegisterModule("afkcam", function ()
overlay.top:SetPoint("TOPLEFT", overlay, "TOPLEFT")
overlay.top:SetPoint("TOPRIGHT", overlay, "TOPRIGHT")
overlay.top:SetHeight(100)
overlay.top:SetTexture(1,1,1,1)
overlay.top:SetColorTexture(1,1,1,1)
overlay.top:SetGradientAlpha("VERTICAL", 0,0,0,0, 0,0,0,1)
overlay.bottom = overlay:CreateTexture("pfAFKGradientTop", "BACKGROUND")
overlay.bottom:SetPoint("BOTTOMLEFT", overlay, "BOTTOMLEFT")
overlay.bottom:SetPoint("BOTTOMRIGHT", overlay, "BOTTOMRIGHT")
overlay.bottom:SetHeight(100)
overlay.bottom:SetTexture(1,1,1,1)
overlay.bottom:SetColorTexture(1,1,1,1)
overlay.bottom:SetGradientAlpha("VERTICAL", 0,0,0,1, 0,0,0,0)
overlay:SetFrameStrata("DIALOG")