mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-07 02:58:15 +00:00
FIX: Initialize tts speed state in ClineProvider (#1799)
This commit is contained in:
parent
0e036fbd9f
commit
de7cef29f1
1 changed files with 5 additions and 0 deletions
|
|
@ -369,6 +369,11 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
|
|||
setTtsEnabled(ttsEnabled ?? false)
|
||||
})
|
||||
|
||||
// Initialize tts speed state
|
||||
this.getState().then(({ ttsSpeed }) => {
|
||||
setTtsSpeed(ttsSpeed ?? 1)
|
||||
})
|
||||
|
||||
webviewView.webview.options = {
|
||||
// Allow scripts in the webview
|
||||
enableScripts: true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue