mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update Ace3
This commit is contained in:
@@ -45,12 +45,14 @@ local methods = {
|
||||
-- ["OnRelease"] = nil,
|
||||
|
||||
["SetHighlight"] = function(self, ...)
|
||||
self.highlight:SetTexture(unpack(arg))
|
||||
self.highlight:SetTexture(arg[1], arg[2], arg[3], arg[4])
|
||||
end,
|
||||
|
||||
["SetHighlightTexCoord"] = function(self, ...)
|
||||
local c = arg.n
|
||||
if c == 4 or c == 8 then
|
||||
if c == 4 then
|
||||
self.highlight:SetTexCoord(arg[1], arg[2], arg[3], arg[4])
|
||||
elseif c == 8 then
|
||||
self.highlight:SetTexCoord(unpack(arg))
|
||||
else
|
||||
self.highlight:SetTexCoord(0, 1, 0, 1)
|
||||
|
||||
Reference in New Issue
Block a user