VR overlay progress bar

This commit is contained in:
Natsumi
2021-09-29 12:45:40 +13:00
parent 9fb0a58e20
commit 6e312a71f7
5 changed files with 38 additions and 14 deletions

View File

@@ -7825,6 +7825,7 @@ speechSynthesis.getVoices();
$app.methods.updateVrNowPlaying = function () {
var json = JSON.stringify(this.nowPlaying);
AppApi.ExecuteVrFeedFunction('nowPlayingUpdate', json);
AppApi.ExecuteVrOverlayFunction('nowPlayingUpdate', json);
};
$app.methods.formatSeconds = function (duration) {
@@ -9618,6 +9619,8 @@ speechSynthesis.getVoices();
$app.data.youTubeApi = configRepository.getBool('VRCX_youtubeAPI');
$app.data.youTubeApiKey = configRepository.getString('VRCX_youtubeAPIKey');
$app.data.progressPie = configRepository.getBool('VRCX_progressPie');
var downloadProgressStateChange = function () {
this.updateVRConfigVars();
};
@@ -9640,7 +9643,8 @@ speechSynthesis.getVoices();
backgroundEnabled: this.vrBackgroundEnabled,
isGameRunning: this.isGameRunning,
isGameNoVR: this.isGameNoVR,
downloadProgress: this.downloadProgress
downloadProgress: this.downloadProgress,
progressPie: this.progressPie
};
var json = JSON.stringify(VRConfigVars);
AppApi.ExecuteVrFeedFunction('configUpdate', json);
@@ -14475,6 +14479,8 @@ speechSynthesis.getVoices();
$app.methods.changeYouTubeApi = function () {
configRepository.setBool('VRCX_youtubeAPI', this.youTubeApi);
configRepository.setBool('VRCX_progressPie', this.progressPie);
this.updateVRConfigVars();
};
$app.methods.showYouTubeApiDialog = function () {