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:
@@ -27,11 +27,11 @@ pfUI:RegisterModule("combopoints", function ()
|
||||
pfUI.combopoints[point].tex:SetAllPoints(pfUI.combopoints[point])
|
||||
|
||||
if point < 3 then
|
||||
pfUI.combopoints[point].tex:SetTexture(1, .3, .3, .75)
|
||||
pfUI.combopoints[point].tex:SetColorTexture(1, .3, .3, .75)
|
||||
elseif point < 4 then
|
||||
pfUI.combopoints[point].tex:SetTexture(1, 1, .3, .75)
|
||||
pfUI.combopoints[point].tex:SetColorTexture(1, 1, .3, .75)
|
||||
else
|
||||
pfUI.combopoints[point].tex:SetTexture(.3, 1, .3, .75)
|
||||
pfUI.combopoints[point].tex:SetColorTexture(.3, 1, .3, .75)
|
||||
end
|
||||
|
||||
UpdateMovable(pfUI.combopoints[point])
|
||||
|
||||
Reference in New Issue
Block a user