mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Hide location when in same instance
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div style="display: flex; justify-content: space-between; align-items: center">
|
<div style="display: flex; justify-content: space-between; align-items: center">
|
||||||
<span class="friend-view__settings-label">Show Same Instance</span>
|
<span class="friend-view__settings-label">Separate Same Instance</span>
|
||||||
<el-switch v-model="showSameInstance" />
|
<el-switch v-model="showSameInstance" />
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex; justify-content: space-between; align-items: center">
|
<div style="display: flex; justify-content: space-between; align-items: center">
|
||||||
@@ -93,7 +93,8 @@
|
|||||||
v-for="friend in group.friends"
|
v-for="friend in group.friends"
|
||||||
:key="friend.id ?? friend.userId ?? friend.displayName"
|
:key="friend.id ?? friend.userId ?? friend.displayName"
|
||||||
:friend="friend"
|
:friend="friend"
|
||||||
:card-scale="cardScale" />
|
:card-scale="cardScale"
|
||||||
|
:display-instance-info="false" />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
@@ -735,6 +736,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 4px 2px;
|
padding: 4px 2px;
|
||||||
|
margin: 5px 10px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: rgba(15, 23, 42, 0.75);
|
color: rgba(15, 23, 42, 0.75);
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<i v-if="friend.ref?.statusDescription" class="ri-pencil-line" style="opacity: 0.7"></i>
|
<i v-if="friend.ref?.statusDescription" class="ri-pencil-line" style="opacity: 0.7"></i>
|
||||||
{{ friend.ref?.statusDescription || ' ' }}
|
{{ friend.ref?.statusDescription || ' ' }}
|
||||||
</div>
|
</div>
|
||||||
<div class="friend-card__world" :title="friend.worldName">
|
<div v-if="displayInstanceInfo" class="friend-card__world" :title="friend.worldName">
|
||||||
<Location
|
<Location
|
||||||
class="friend-card__location"
|
class="friend-card__location"
|
||||||
:location="friend.ref?.location"
|
:location="friend.ref?.location"
|
||||||
@@ -46,6 +46,10 @@
|
|||||||
cardScale: {
|
cardScale: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 1
|
default: 1
|
||||||
|
},
|
||||||
|
displayInstanceInfo: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user