We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b0458d commit 0b5ceccCopy full SHA for 0b5cecc
1 file changed
SSAccessibility/SSSpeechSynthesizer.m
@@ -84,6 +84,11 @@ - (void)enqueueLineForSpeaking:(NSString *)line {
84
}
85
86
dispatch_async(dispatch_get_main_queue(), ^{
87
+ if (self.speakResetTimer) {
88
+ [self.speakResetTimer invalidate];
89
+ _speakResetTimer = nil;
90
+ }
91
+
92
[self.speechQueue addObject:line];
93
[self _maybeDequeueLine];
94
});
@@ -155,6 +160,7 @@ - (void)voiceOverDidFinishAnnouncing:(NSNotification *)note {
155
160
156
161
if (self.speakResetTimer) {
157
162
[self.speakResetTimer invalidate];
163
158
164
159
165
166
NSDictionary *userInfo = [note userInfo];
0 commit comments