mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Copy dialog title
This commit is contained in:
@@ -22,7 +22,17 @@
|
|||||||
<div style="flex: 1; display: flex; align-items: center; margin-left: 15px">
|
<div style="flex: 1; display: flex; align-items: center; margin-left: 15px">
|
||||||
<div style="flex: 1">
|
<div style="flex: 1">
|
||||||
<div>
|
<div>
|
||||||
<span class="dialog-title" v-text="avatarDialog.ref.name"></span>
|
<el-popover placement="top" trigger="click">
|
||||||
|
<span
|
||||||
|
slot="reference"
|
||||||
|
class="dialog-title"
|
||||||
|
style="margin-right: 5px; cursor: pointer"
|
||||||
|
v-text="avatarDialog.ref.name"
|
||||||
|
@click="copyToClipboard(avatarDialog.ref.name)"></span>
|
||||||
|
<span style="display: block; text-align: center; font-family: monospace">{{
|
||||||
|
textToHex(avatarDialog.ref.name)
|
||||||
|
}}</span>
|
||||||
|
</el-popover>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-top: 5px">
|
<div style="margin-top: 5px">
|
||||||
<span
|
<span
|
||||||
@@ -613,7 +623,8 @@
|
|||||||
storeAvatarImage,
|
storeAvatarImage,
|
||||||
timeToText,
|
timeToText,
|
||||||
moveArrayItem,
|
moveArrayItem,
|
||||||
formatDateFilter
|
formatDateFilter,
|
||||||
|
textToHex
|
||||||
} from '../../../shared/utils';
|
} from '../../../shared/utils';
|
||||||
import {
|
import {
|
||||||
useAppearanceSettingsStore,
|
useAppearanceSettingsStore,
|
||||||
|
|||||||
@@ -37,7 +37,17 @@
|
|||||||
<div style="flex: 1; display: flex; align-items: center; margin-left: 15px">
|
<div style="flex: 1; display: flex; align-items: center; margin-left: 15px">
|
||||||
<div class="group-header" style="flex: 1">
|
<div class="group-header" style="flex: 1">
|
||||||
<span v-if="groupDialog.ref.ownerId === currentUser.id" style="margin-right: 5px">👑</span>
|
<span v-if="groupDialog.ref.ownerId === currentUser.id" style="margin-right: 5px">👑</span>
|
||||||
<span class="dialog-title" style="margin-right: 5px" v-text="groupDialog.ref.name"></span>
|
<el-popover placement="top" trigger="click">
|
||||||
|
<span
|
||||||
|
slot="reference"
|
||||||
|
class="dialog-title"
|
||||||
|
style="margin-right: 5px; cursor: pointer"
|
||||||
|
v-text="groupDialog.ref.name"
|
||||||
|
@click="copyToClipboard(groupDialog.ref.name)"></span>
|
||||||
|
<span style="display: block; text-align: center; font-family: monospace">{{
|
||||||
|
textToHex(groupDialog.ref.name)
|
||||||
|
}}</span>
|
||||||
|
</el-popover>
|
||||||
<span
|
<span
|
||||||
class="group-discriminator x-grey"
|
class="group-discriminator x-grey"
|
||||||
style="font-family: monospace; font-size: 12px; margin-right: 5px">
|
style="font-family: monospace; font-size: 12px; margin-right: 5px">
|
||||||
@@ -1181,7 +1191,8 @@
|
|||||||
removeFromArray,
|
removeFromArray,
|
||||||
userImage,
|
userImage,
|
||||||
userStatusClass,
|
userStatusClass,
|
||||||
formatDateFilter
|
formatDateFilter,
|
||||||
|
textToHex
|
||||||
} from '../../../shared/utils';
|
} from '../../../shared/utils';
|
||||||
import {
|
import {
|
||||||
useAppearanceSettingsStore,
|
useAppearanceSettingsStore,
|
||||||
|
|||||||
@@ -86,7 +86,8 @@
|
|||||||
slot="reference"
|
slot="reference"
|
||||||
class="dialog-title"
|
class="dialog-title"
|
||||||
style="margin-left: 5px; margin-right: 5px; cursor: pointer"
|
style="margin-left: 5px; margin-right: 5px; cursor: pointer"
|
||||||
v-text="userDialog.ref.displayName"></span>
|
v-text="userDialog.ref.displayName"
|
||||||
|
@click="copyUserDisplayName(userDialog.ref.displayName)"></span>
|
||||||
<span style="display: block; text-align: center; font-family: monospace">{{
|
<span style="display: block; text-align: center; font-family: monospace">{{
|
||||||
textToHex(userDialog.ref.displayName)
|
textToHex(userDialog.ref.displayName)
|
||||||
}}</span>
|
}}</span>
|
||||||
|
|||||||
@@ -22,13 +22,25 @@
|
|||||||
<div style="flex: 1; display: flex; align-items: center; margin-left: 15px">
|
<div style="flex: 1; display: flex; align-items: center; margin-left: 15px">
|
||||||
<div style="flex: 1">
|
<div style="flex: 1">
|
||||||
<div>
|
<div>
|
||||||
|
<el-popover placement="top" trigger="click">
|
||||||
|
<span
|
||||||
|
slot="reference"
|
||||||
|
class="dialog-title"
|
||||||
|
style="margin-right: 5px; cursor: pointer"
|
||||||
|
@click="copyToClipboard(worldDialog.ref.name)">
|
||||||
<i
|
<i
|
||||||
v-show="
|
v-if="
|
||||||
currentUser.$homeLocation && currentUser.$homeLocation.worldId === worldDialog.id
|
currentUser.$homeLocation &&
|
||||||
|
currentUser.$homeLocation.worldId === worldDialog.id
|
||||||
"
|
"
|
||||||
class="el-icon-s-home"
|
class="el-icon-s-home"
|
||||||
style="margin-right: 5px" />
|
style="margin-right: 5px" />
|
||||||
<span class="dialog-title" v-text="worldDialog.ref.name" />
|
{{ worldDialog.ref.name }}
|
||||||
|
</span>
|
||||||
|
<span style="display: block; text-align: center; font-family: monospace">{{
|
||||||
|
textToHex(worldDialog.ref.name)
|
||||||
|
}}</span>
|
||||||
|
</el-popover>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-top: 5px">
|
<div style="margin-top: 5px">
|
||||||
<span
|
<span
|
||||||
@@ -785,7 +797,9 @@
|
|||||||
openFolderGeneric,
|
openFolderGeneric,
|
||||||
deleteVRChatCache,
|
deleteVRChatCache,
|
||||||
commaNumber,
|
commaNumber,
|
||||||
formatDateFilter
|
formatDateFilter,
|
||||||
|
textToHex,
|
||||||
|
copyToClipboard
|
||||||
} from '../../../shared/utils';
|
} from '../../../shared/utils';
|
||||||
import {
|
import {
|
||||||
useAppearanceSettingsStore,
|
useAppearanceSettingsStore,
|
||||||
|
|||||||
Reference in New Issue
Block a user