update ElvUI modules with Ace3Timer

This commit is contained in:
Pinya
2018-07-21 19:39:51 +03:00
parent 465ec15fa5
commit 805697ed4e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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