mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-28 08:54:43 +00:00
disable CH:ScheduleTimer in chat temporarily
This commit is contained in:
@@ -206,7 +206,7 @@ local function ChatFrame_OnMouseScroll(frame, delta)
|
|||||||
CH:CancelTimer(frame.ScrollTimer, true)
|
CH:CancelTimer(frame.ScrollTimer, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
frame.ScrollTimer = CH:ScheduleTimer("ScrollToBottom", CH.db.scrollDownInterval, frame)
|
-- frame.ScrollTimer = CH:ScheduleTimer("ScrollToBottom", CH.db.scrollDownInterval, frame)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -627,7 +627,7 @@ function CH.FindURL(msg, ...)
|
|||||||
if event and event == "CHAT_MSG_WHISPER" and CH.db.whisperSound ~= "None" and not CH.SoundPlayed then
|
if event and event == "CHAT_MSG_WHISPER" and CH.db.whisperSound ~= "None" and not CH.SoundPlayed then
|
||||||
PlaySoundFile(LSM:Fetch("sound", CH.db.whisperSound), "Master")
|
PlaySoundFile(LSM:Fetch("sound", CH.db.whisperSound), "Master")
|
||||||
CH.SoundPlayed = true
|
CH.SoundPlayed = true
|
||||||
CH.SoundTimer = CH:ScheduleTimer("ThrottleSound", 1)
|
-- CH.SoundTimer = CH:ScheduleTimer("ThrottleSound", 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
if not CH.db.url then
|
if not CH.db.url then
|
||||||
@@ -1294,7 +1294,7 @@ function CH:CheckKeyword(message)
|
|||||||
if(self.db.keywordSound ~= "None" and not self.SoundPlayed) then
|
if(self.db.keywordSound ~= "None" and not self.SoundPlayed) then
|
||||||
PlaySoundFile(LSM:Fetch("sound", self.db.keywordSound), "Master")
|
PlaySoundFile(LSM:Fetch("sound", self.db.keywordSound), "Master")
|
||||||
self.SoundPlayed = true
|
self.SoundPlayed = true
|
||||||
self.SoundTimer = CH:ScheduleTimer("ThrottleSound", 1)
|
-- self.SoundTimer = CH:ScheduleTimer("ThrottleSound", 1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -1315,7 +1315,7 @@ function CH:CheckKeyword(message)
|
|||||||
if self.db.keywordSound ~= "None" and not self.SoundPlayed then
|
if self.db.keywordSound ~= "None" and not self.SoundPlayed then
|
||||||
PlaySoundFile(LSM:Fetch("sound", self.db.keywordSound), "Master")
|
PlaySoundFile(LSM:Fetch("sound", self.db.keywordSound), "Master")
|
||||||
self.SoundPlayed = true
|
self.SoundPlayed = true
|
||||||
self.SoundTimer = CH:ScheduleTimer("ThrottleSound", 1)
|
-- self.SoundTimer = CH:ScheduleTimer("ThrottleSound", 1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user