This commit is contained in:
Natsumi
2021-11-04 20:49:06 +13:00
parent 6bf11a1f51
commit f8c9442d2d
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -9670,7 +9670,11 @@ speechSynthesis.getVoices();
} }
configRepository.setString('VRCX_branch', $app.data.branch); configRepository.setString('VRCX_branch', $app.data.branch);
} }
if (!configRepository.getString('VRCX_lastVRCXVersion')) { if (configRepository.getString('VRCX_lastVRCXVersion')) {
if (configRepository.getString('VRCX_lastVRCXVersion') < appVersion) {
configRepository.setString('VRCX_lastVRCXVersion', appVersion);
}
} else {
configRepository.setString('VRCX_lastVRCXVersion', appVersion); configRepository.setString('VRCX_lastVRCXVersion', appVersion);
} }
if (!configRepository.getInt('VRCX_maxTableSize')) { if (!configRepository.getInt('VRCX_maxTableSize')) {
+1 -1
View File
@@ -910,7 +910,7 @@ html
span.name TTS Voice span.name TTS Voice
el-dropdown(@command="(voice) => changeTTSVoice(voice)" trigger="click" size="small") el-dropdown(@command="(voice) => changeTTSVoice(voice)" trigger="click" size="small")
el-button(size="mini" :disabled="notificationTTS === 'Never'") el-button(size="mini" :disabled="notificationTTS === 'Never'")
span {{ TTSvoices[notificationTTSVoice].name }} #[i.el-icon-arrow-down.el-icon--right] span {{ getTTSVoiceName() }} #[i.el-icon-arrow-down.el-icon--right]
el-dropdown-menu(#default="dropdown") el-dropdown-menu(#default="dropdown")
el-dropdown-item(v-if="voice" v-for="(voice, index) in TTSvoices" :key="index" v-text="voice.name" :command="index") el-dropdown-item(v-if="voice" v-for="(voice, index) in TTSvoices" :key="index" v-text="voice.name" :command="index")
div.options-container div.options-container