mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-02 00:46: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:
@@ -51,7 +51,7 @@ pfUI:RegisterModule("hoverbind", function ()
|
||||
pfUI.hoverbind.edit:SetAllPoints(UIParent)
|
||||
pfUI.hoverbind.edit.tex = pfUI.hoverbind.edit:CreateTexture("pfKeyBindShade", "BACKGROUND")
|
||||
pfUI.hoverbind.edit.tex:SetAllPoints(pfUI.hoverbind.edit)
|
||||
pfUI.hoverbind.edit.tex:SetTexture(0,0,0,.5)
|
||||
pfUI.hoverbind.edit.tex:SetColorTexture(0,0,0,.5)
|
||||
pfUI.hoverbind.edit:SetScript("OnClick", function()
|
||||
pfUI.hoverbind:Hide()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user