Commit 72aae63
Fix TTS Stop button never enabled during SSE streaming
The SSE streaming code path spoke sentences inline without setting
_isSpeaking=true, so UpdateButtons() never enabled the Stop button.
Now sets _isSpeaking before streaming and clears it after all TTS
completes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f8f195c commit 72aae63
1 file changed
Lines changed: 6 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
246 | 249 | | |
247 | 250 | | |
248 | 251 | | |
| |||
321 | 324 | | |
322 | 325 | | |
323 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
324 | 330 | | |
325 | 331 | | |
326 | 332 | | |
| |||
0 commit comments