mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-05 02: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:
@@ -16,7 +16,7 @@ pfUI:RegisterSkin("Options - Interface", function ()
|
||||
SkinScrollbar(InterfaceOptionsFrameAddOnsListScrollBar)
|
||||
|
||||
for _, button in ipairs(InterfaceOptionsFrameAddOns.buttons) do
|
||||
button:GetHighlightTexture():SetTexture(cr, cg, cb, .25)
|
||||
button:GetHighlightTexture():SetColorTexture(cr, cg, cb, .25)
|
||||
|
||||
-- the list update swaps plus/minus textures on the toggle by path
|
||||
local toggle = _G[button:GetName() .. "Toggle"]
|
||||
|
||||
Reference in New Issue
Block a user