You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
486 B

MoveIt.Modules.Delay = {}
function MoveIt.Modules.Delay:Apply(frameName)
end
function MoveIt.Modules.Delay:Revert(frameName)
local modSettings = MoveIt:GetFrameSettings(frameName, "Delay")
modSettings.Enabled = false
end
function MoveIt.Modules.Delay:GetOriginalSettings(frameName)
local ms = 1
if MoveIt.db.profile.frames[frameName].Delay ~= nil then
ms = MoveIt.db.profile.frames[frameName].Delay.MS or 1
end
return
{
MS = ms
}
end