mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-28 19:23:47 +02:00
Overlay notification opacity
This commit is contained in:
12
src/app.js
12
src/app.js
@@ -6156,6 +6156,10 @@ console.log(`isLinux: ${LINUX}`);
|
||||
'VRCX_notificationTTSNickName',
|
||||
false
|
||||
);
|
||||
$app.data.notificationOpacity = await configRepository.getFloat(
|
||||
'VRCX_notificationOpacity',
|
||||
100
|
||||
);
|
||||
|
||||
// It's not necessary to store it in configRepo because it's rarely used.
|
||||
$app.data.isTestTTSVisible = false;
|
||||
@@ -6523,6 +6527,11 @@ console.log(`isLinux: ${LINUX}`);
|
||||
this.autoDeleteOldPrints
|
||||
);
|
||||
|
||||
await configRepository.setInt(
|
||||
'VRCX_notificationOpacity',
|
||||
this.notificationOpacity
|
||||
);
|
||||
|
||||
this.updateSharedFeed(true);
|
||||
this.updateVRConfigVars();
|
||||
this.updateVRLastLocation();
|
||||
@@ -7392,7 +7401,8 @@ console.log(`isLinux: ${LINUX}`);
|
||||
backgroundEnabled: this.vrBackgroundEnabled,
|
||||
dtHour12: this.dtHour12,
|
||||
pcUptimeOnFeed: this.pcUptimeOnFeed,
|
||||
appLanguage: this.appLanguage
|
||||
appLanguage: this.appLanguage,
|
||||
notificationOpacity: this.notificationOpacity
|
||||
};
|
||||
var json = JSON.stringify(VRConfigVars);
|
||||
AppApi.ExecuteVrFeedFunction('configUpdate', json);
|
||||
|
||||
Reference in New Issue
Block a user