diff --git a/html/src/app.js b/html/src/app.js index 8f051f29..82b454e3 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -15226,7 +15226,7 @@ speechSynthesis.getVoices(); var D = this.newInstanceDialog; var tags = []; if (D.instanceName) { - D.instanceName = D.instanceName.replace(/[^A-Za-z0-9]/g, ''); + D.instanceName = D.instanceName.replace(/[^A-Za-z0-9-_]/g, ''); tags.push(D.instanceName); } else { tags.push((99999 * Math.random() + 1).toFixed(0)); @@ -19708,6 +19708,9 @@ speechSynthesis.getVoices(); }; $app.methods.updateCurrentUserLocation = function () { + if (this.gameLogDisabled) { + return; + } API.currentUser.location = this.lastLocation.location; API.currentUser.travelingToLocation = this.lastLocationDestination; API.currentUser.$travelingToTime = this.lastLocationDestinationTime; diff --git a/html/src/app.scss b/html/src/app.scss index 3a853f3b..72adecb3 100644 --- a/html/src/app.scss +++ b/html/src/app.scss @@ -667,3 +667,7 @@ i.x-user-status.busy { .el-tabs__nav-wrap::after { background-color: #e4e7ed14; } + +.dialog-title { + font-weight: bold; +} diff --git a/html/src/index.pug b/html/src/index.pug index f9215142..bf32a423 100644 --- a/html/src/index.pug +++ b/html/src/index.pug @@ -1460,7 +1460,7 @@ html div(v-for="displayName in userDialog.previousDisplayNames" placement="top") span(v-text="displayName") i.el-icon-caret-bottom - span(v-text="userDialog.ref.displayName" style="margin-left:5px;margin-right:5px;font-weight:bold") + span.dialog-title(v-text="userDialog.ref.displayName" style="margin-left:5px;margin-right:5px") el-popover(placement="top" trigger="click") span(slot="reference" v-text="userDialog.ref.username" style="margin-right:5px;color:#909399;font-family:monospace;font-size:12px;cursor:pointer") span(style="display:block;text-align:center;font-family:monospace") {{ userDialog.ref.username | textToHex }} @@ -1675,7 +1675,7 @@ html span(slot="label") span(v-text="list[0]" style="font-weight:bold;font-size:16px") i.x-user-status(style="margin-left:5px" :class="userFavoriteWorldsStatus(list[1])") - span(style="color:#909399;font-size:12px;margin-left:5px") {{ list[2].length }}/64 + span(style="color:#909399;font-size:12px;margin-left:5px") {{ list[2].length }}/100 .x-friend-list(style="margin-top:10px;margin-bottom:15px;min-height:60px") .x-friend-item(v-for="world in list[2]" :key="world.id" @click="showWorldDialog(world.id)" class="x-friend-item-border") .avatar @@ -1722,7 +1722,7 @@ html div(style="flex:1") div i.el-icon-s-home(v-show="API.currentUser.$homeLocation && API.currentUser.$homeLocation.worldId === worldDialog.id" style="margin-right:5px") - span(v-text="worldDialog.ref.name" style="font-weight:bold") + span.dialog-title(v-text="worldDialog.ref.name") div(style="margin-top:5px") span.x-link(v-text="worldDialog.ref.authorName" @click="showUserDialog(worldDialog.ref.authorId)" style="color:#909399;font-family:monospace") div @@ -1893,7 +1893,7 @@ html div(style="flex:1;display:flex;align-items:center;margin-left:15px") div(style="flex:1") div - span(v-text="avatarDialog.ref.name" style="font-weight:bold") + span.dialog-title(v-text="avatarDialog.ref.name") div(style="margin-top:5px") span.x-link(v-text="avatarDialog.ref.authorName" @click="showUserDialog(avatarDialog.ref.authorId)" style="color:#909399;font-family:monospace") div(style="margin-top:5px")