Auto Hide Options Overhaul
This commit is contained in:
+6
-5
@@ -1,5 +1,5 @@
|
||||
|
||||
local dversion = 187
|
||||
local dversion = 190
|
||||
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary (major, minor)
|
||||
@@ -27,6 +27,8 @@ local UnitIsTapDenied = UnitIsTapDenied
|
||||
SMALL_NUMBER = 0.000001
|
||||
ALPHA_BLEND_AMOUNT = 0.8400251
|
||||
|
||||
DF.dversion = dversion
|
||||
|
||||
DF.AuthorInfo = {
|
||||
Name = "Terciob",
|
||||
Discord = "https://discord.gg/AGSzAZX",
|
||||
@@ -3901,16 +3903,15 @@ end
|
||||
do
|
||||
local get = function(self)
|
||||
local object = tremove(self.notUse, #self.notUse)
|
||||
if (object) then
|
||||
if (object) then
|
||||
tinsert(self.inUse, object)
|
||||
return object, false
|
||||
|
||||
else
|
||||
--need to create the new object
|
||||
local newObject = self.newObjectFunc(self, unpack(self.payload))
|
||||
local newObject = self.newObjectFunc(self, unpack(self.payload))
|
||||
if (newObject) then
|
||||
tinsert(self.inUse, newObject)
|
||||
return object, true
|
||||
return newObject, true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user