mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
Hide location when in same instance
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<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" />
|
||||
</div>
|
||||
<div style="display: flex; justify-content: space-between; align-items: center">
|
||||
@@ -93,7 +93,8 @@
|
||||
v-for="friend in group.friends"
|
||||
:key="friend.id ?? friend.userId ?? friend.displayName"
|
||||
:friend="friend"
|
||||
:card-scale="cardScale" />
|
||||
:card-scale="cardScale"
|
||||
:display-instance-info="false" />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -735,6 +736,7 @@
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 4px 2px;
|
||||
margin: 5px 10px;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
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>
|
||||
{{ friend.ref?.statusDescription || ' ' }}
|
||||
</div>
|
||||
<div class="friend-card__world" :title="friend.worldName">
|
||||
<div v-if="displayInstanceInfo" class="friend-card__world" :title="friend.worldName">
|
||||
<Location
|
||||
class="friend-card__location"
|
||||
:location="friend.ref?.location"
|
||||
@@ -46,6 +46,10 @@
|
||||
cardScale: {
|
||||
type: Number,
|
||||
default: 1
|
||||
},
|
||||
displayInstanceInfo: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user