mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update ElvUI modules with Ace3Timer
This commit is contained in:
@@ -114,7 +114,7 @@ function E:DelayScriptCall(msg)
|
||||
self:Print("usage: /in <seconds> <command>")
|
||||
self:Print("example: /in 1.5 /say hi")
|
||||
else
|
||||
E:ScheduleTimer(OnCallback, secs, 1, command)
|
||||
E:ScheduleTimer(OnCallback, secs, command)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ local function ChatFrame_OnMouseScroll()
|
||||
CH:CancelTimer(this.ScrollTimer, true)
|
||||
end
|
||||
|
||||
this.ScrollTimer = CH:ScheduleTimer("ScrollToBottom", CH.db.scrollDownInterval, 1, this)
|
||||
this.ScrollTimer = CH:ScheduleTimer("ScrollToBottom", CH.db.scrollDownInterval, this)
|
||||
end
|
||||
end
|
||||
else
|
||||
@@ -133,7 +133,7 @@ local function ChatFrame_OnMouseScroll()
|
||||
CH:CancelTimer(this.ScrollTimer, true)
|
||||
end
|
||||
|
||||
this.ScrollTimer = CH:ScheduleTimer("ScrollToBottom", CH.db.scrollDownInterval, 1, this)
|
||||
this.ScrollTimer = CH:ScheduleTimer("ScrollToBottom", CH.db.scrollDownInterval, this)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -467,7 +467,7 @@ function mod:UpdateElement_All(frame, noTargetFrame)
|
||||
self:UpdateElement_Level(frame)
|
||||
|
||||
if not noTargetFrame then
|
||||
mod:ScheduleTimer("ForEachPlate", 0.25, 1, "SetTargetFrame")
|
||||
mod:ScheduleTimer("ForEachPlate", 0.25, "SetTargetFrame")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user