LibCustomGlow v16
This commit is contained in:
parent
0759357e72
commit
86fcff8ea8
@ -6,7 +6,7 @@ https://www.wowace.com/projects/libbuttonglow-1-0
|
|||||||
-- luacheck: globals CreateFromMixins ObjectPoolMixin CreateTexturePool CreateFramePool
|
-- luacheck: globals CreateFromMixins ObjectPoolMixin CreateTexturePool CreateFramePool
|
||||||
|
|
||||||
local MAJOR_VERSION = "LibCustomGlow-1.0"
|
local MAJOR_VERSION = "LibCustomGlow-1.0"
|
||||||
local MINOR_VERSION = 17
|
local MINOR_VERSION = 16
|
||||||
if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end
|
if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end
|
||||||
local lib, oldversion = LibStub:NewLibrary(MAJOR_VERSION, MINOR_VERSION)
|
local lib, oldversion = LibStub:NewLibrary(MAJOR_VERSION, MINOR_VERSION)
|
||||||
if not lib then return end
|
if not lib then return end
|
||||||
@ -313,9 +313,6 @@ function lib.PixelGlow_Stop(r,key)
|
|||||||
if not r then
|
if not r then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if type(key) ~= "string" or type(key) ~= "number" then
|
|
||||||
key = nil
|
|
||||||
end
|
|
||||||
key = key or ""
|
key = key or ""
|
||||||
if not r["_PixelGlow"..key] then
|
if not r["_PixelGlow"..key] then
|
||||||
return false
|
return false
|
||||||
@ -411,9 +408,6 @@ function lib.AutoCastGlow_Stop(r,key)
|
|||||||
if not r then
|
if not r then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if type(key) ~= "string" or type(key) ~= "number" then
|
|
||||||
key = nil
|
|
||||||
end
|
|
||||||
|
|
||||||
key = key or ""
|
key = key or ""
|
||||||
if not r["_AutoCastGlow"..key] then
|
if not r["_AutoCastGlow"..key] then
|
||||||
|
Loading…
Reference in New Issue
Block a user