mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Transparent wrist overlay toggle
This commit is contained in:
+9
-1
@@ -7513,6 +7513,7 @@ speechSynthesis.getVoices();
|
|||||||
$app.data.worldAutoCacheInviteFilter = configRepository.getBool('VRCX_worldAutoCacheInviteFilter');
|
$app.data.worldAutoCacheInviteFilter = configRepository.getBool('VRCX_worldAutoCacheInviteFilter');
|
||||||
$app.data.worldAutoCacheGPSFilter = configRepository.getBool('VRCX_worldAutoCacheGPSFilter');
|
$app.data.worldAutoCacheGPSFilter = configRepository.getBool('VRCX_worldAutoCacheGPSFilter');
|
||||||
$app.data.autoSweepVRChatCache = configRepository.getBool('VRCX_autoSweepVRChatCache');
|
$app.data.autoSweepVRChatCache = configRepository.getBool('VRCX_autoSweepVRChatCache');
|
||||||
|
$app.data.vrBackgroundEnabled = configRepository.getBool('VRCX_vrBackgroundEnabled');
|
||||||
var saveOpenVROption = function () {
|
var saveOpenVROption = function () {
|
||||||
configRepository.setBool('openVR', this.openVR);
|
configRepository.setBool('openVR', this.openVR);
|
||||||
configRepository.setBool('openVRAlways', this.openVRAlways);
|
configRepository.setBool('openVRAlways', this.openVRAlways);
|
||||||
@@ -7532,6 +7533,7 @@ speechSynthesis.getVoices();
|
|||||||
configRepository.setBool('VRCX_worldAutoCacheInviteFilter', this.worldAutoCacheInviteFilter);
|
configRepository.setBool('VRCX_worldAutoCacheInviteFilter', this.worldAutoCacheInviteFilter);
|
||||||
configRepository.setBool('VRCX_worldAutoCacheGPSFilter', this.worldAutoCacheGPSFilter);
|
configRepository.setBool('VRCX_worldAutoCacheGPSFilter', this.worldAutoCacheGPSFilter);
|
||||||
configRepository.setBool('VRCX_autoSweepVRChatCache', this.autoSweepVRChatCache);
|
configRepository.setBool('VRCX_autoSweepVRChatCache', this.autoSweepVRChatCache);
|
||||||
|
configRepository.setBool('VRCX_vrBackgroundEnabled', this.vrBackgroundEnabled);
|
||||||
this.updateVRConfigVars();
|
this.updateVRConfigVars();
|
||||||
};
|
};
|
||||||
$app.data.TTSvoices = speechSynthesis.getVoices();
|
$app.data.TTSvoices = speechSynthesis.getVoices();
|
||||||
@@ -7561,6 +7563,7 @@ speechSynthesis.getVoices();
|
|||||||
$app.watch.worldAutoCacheInviteFilter = saveOpenVROption;
|
$app.watch.worldAutoCacheInviteFilter = saveOpenVROption;
|
||||||
$app.watch.worldAutoCacheGPSFilter = saveOpenVROption;
|
$app.watch.worldAutoCacheGPSFilter = saveOpenVROption;
|
||||||
$app.watch.autoSweepVRChatCache = saveOpenVROption;
|
$app.watch.autoSweepVRChatCache = saveOpenVROption;
|
||||||
|
$app.watch.vrBackgroundEnabled = saveOpenVROption;
|
||||||
$app.watch.notificationTTS = saveNotificationTTS;
|
$app.watch.notificationTTS = saveNotificationTTS;
|
||||||
$app.data.themeMode = configRepository.getString('VRCX_ThemeMode');
|
$app.data.themeMode = configRepository.getString('VRCX_ThemeMode');
|
||||||
if (!$app.data.themeMode) {
|
if (!$app.data.themeMode) {
|
||||||
@@ -7630,6 +7633,10 @@ speechSynthesis.getVoices();
|
|||||||
$app.data.worldAutoCacheGPS = 'Never';
|
$app.data.worldAutoCacheGPS = 'Never';
|
||||||
configRepository.setString('VRCX_worldAutoCacheGPS', $app.data.worldAutoCacheGPS);
|
configRepository.setString('VRCX_worldAutoCacheGPS', $app.data.worldAutoCacheGPS);
|
||||||
}
|
}
|
||||||
|
if (!configRepository.getBool('VRCX_vrBackgroundEnabled')) {
|
||||||
|
$app.data.vrBackgroundEnabled = false;
|
||||||
|
configRepository.setBool('VRCX_vrBackgroundEnabled', $app.data.vrBackgroundEnabled);
|
||||||
|
}
|
||||||
if (!configRepository.getString('sharedFeedFilters')) {
|
if (!configRepository.getString('sharedFeedFilters')) {
|
||||||
var sharedFeedFilters = {
|
var sharedFeedFilters = {
|
||||||
noty: {
|
noty: {
|
||||||
@@ -7876,7 +7883,8 @@ speechSynthesis.getVoices();
|
|||||||
minimalFeed: this.minimalFeed,
|
minimalFeed: this.minimalFeed,
|
||||||
notificationPosition: this.notificationPosition,
|
notificationPosition: this.notificationPosition,
|
||||||
notificationTimeout: this.notificationTimeout,
|
notificationTimeout: this.notificationTimeout,
|
||||||
notificationTheme
|
notificationTheme,
|
||||||
|
backgroundEnabled: this.vrBackgroundEnabled
|
||||||
};
|
};
|
||||||
sharedRepository.setObject('VRConfigVars', VRConfigVars);
|
sharedRepository.setObject('VRConfigVars', VRConfigVars);
|
||||||
this.updateSharedFeed(true);
|
this.updateSharedFeed(true);
|
||||||
|
|||||||
@@ -782,6 +782,9 @@ html
|
|||||||
div.options-container-item
|
div.options-container-item
|
||||||
span.name(style="min-width:137px") Overlay Button
|
span.name(style="min-width:137px") Overlay Button
|
||||||
el-switch(v-model="overlaybutton" inactive-text="Grip" active-text="Menu" :disabled="!openVR || !overlayWrist")
|
el-switch(v-model="overlaybutton" inactive-text="Grip" active-text="Menu" :disabled="!openVR || !overlayWrist")
|
||||||
|
div.options-container-item
|
||||||
|
span.name Background Color
|
||||||
|
el-switch(v-model="vrBackgroundEnabled" :disabled="!openVR || !overlayWrist")
|
||||||
div.options-container-item
|
div.options-container-item
|
||||||
span.name Minimal Feed Icons
|
span.name Minimal Feed Icons
|
||||||
el-switch(v-model="minimalFeed" :disabled="!openVR || !overlayWrist")
|
el-switch(v-model="minimalFeed" :disabled="!openVR || !overlayWrist")
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ html
|
|||||||
link(rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+JP|Noto+Sans+KR&display=swap")
|
link(rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+JP|Noto+Sans+KR&display=swap")
|
||||||
link(rel="stylesheet" href="vr.css")
|
link(rel="stylesheet" href="vr.css")
|
||||||
body
|
body
|
||||||
.x-app#x-app(v-if="appType === '1'" class="x-app-type")
|
.x-app#x-app(v-if="appType === '1'" class="x-app-type" :class="{ background: config && config.backgroundEnabled }")
|
||||||
.x-container(style="flex:1")
|
.x-container(style="flex:1")
|
||||||
.x-friend-list(ref="list" style="color:#aaa")
|
.x-friend-list(ref="list" style="color:#aaa")
|
||||||
template(v-if="config && config.minimalFeed")
|
template(v-if="config && config.minimalFeed")
|
||||||
|
|||||||
@@ -165,6 +165,7 @@ select,
|
|||||||
button {
|
button {
|
||||||
font-family: "Noto Sans JP", "Noto Sans KR", "Meiryo UI", "Malgun Gothic", "Segoe UI", sans-serif;
|
font-family: "Noto Sans JP", "Noto Sans KR", "Meiryo UI", "Malgun Gothic", "Segoe UI", sans-serif;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
|
text-shadow: #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.x-app {
|
.x-app {
|
||||||
@@ -178,6 +179,9 @@ button {
|
|||||||
|
|
||||||
.x-app-type {
|
.x-app-type {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.background {
|
||||||
background: #1f1f1f;
|
background: #1f1f1f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user