mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
Add thirdPerson world tag and fix world tags dialog not closing
This commit is contained in:
@@ -71,6 +71,10 @@
|
||||
<el-checkbox v-model="setWorldTagsDialog.props">
|
||||
{{ t('dialog.new_instance.content_items') }}
|
||||
</el-checkbox>
|
||||
<br />
|
||||
<el-checkbox v-model="setWorldTagsDialog.thirdPerson">
|
||||
{{ t('dialog.new_instance.content_third_person') }}
|
||||
</el-checkbox>
|
||||
<template #footer>
|
||||
<div style="display: flex">
|
||||
<el-button @click="isVisible = false">
|
||||
@@ -133,7 +137,8 @@
|
||||
pedestals: true,
|
||||
prints: true,
|
||||
drones: true,
|
||||
props: true
|
||||
props: true,
|
||||
thirdPerson: true
|
||||
});
|
||||
|
||||
const isVisible = computed({
|
||||
@@ -217,6 +222,8 @@
|
||||
case 'feature_props_disabled':
|
||||
D.props = false;
|
||||
break;
|
||||
case 'feature_third_person_view_disabled':
|
||||
D.thirdPerson = false;
|
||||
}
|
||||
});
|
||||
D.authorTags = authorTags.toString();
|
||||
@@ -290,6 +297,9 @@
|
||||
if (!D.props) {
|
||||
tags.unshift('feature_props_disabled');
|
||||
}
|
||||
if (!D.thirdPerson) {
|
||||
tags.unshift('feature_third_person_view_disabled');
|
||||
}
|
||||
worldRequest
|
||||
.saveWorld({
|
||||
id: props.worldId,
|
||||
|
||||
@@ -737,7 +737,7 @@
|
||||
<template v-if="isDialogVisible">
|
||||
<WorldAllowedDomainsDialog :world-allowed-domains-dialog="worldAllowedDomainsDialog" />
|
||||
<SetWorldTagsDialog
|
||||
:is-set-world-tags-dialog-visible="isSetWorldTagsDialogVisible"
|
||||
v-model:is-set-world-tags-dialog-visible="isSetWorldTagsDialogVisible"
|
||||
:old-tags="worldDialog.ref?.tags"
|
||||
:world-id="worldDialog.id"
|
||||
:is-world-dialog-visible="worldDialog.visible" />
|
||||
|
||||
@@ -1339,6 +1339,7 @@
|
||||
"content_prints": "Prints",
|
||||
"content_drones": "Drones",
|
||||
"content_items": "Items",
|
||||
"content_third_person": "Third Person",
|
||||
"world_id": "World ID",
|
||||
"instance_id": "Instance ID",
|
||||
"instance_id_placeholder": "Random",
|
||||
|
||||
Reference in New Issue
Block a user