diff --git a/src/components/Menu.vue b/src/components/Menu.vue
index c762830..16704ca 100644
--- a/src/components/Menu.vue
+++ b/src/components/Menu.vue
@@ -244,6 +244,8 @@ export default {
> svg {
cursor: pointer;
z-index: 5;
+ margin-top: 10px;
+ margin-left: 10px;
}
> .fa-broadcast-tower {
diff --git a/src/components/Player.vue b/src/components/Player.vue
index 4386a07..87018cf 100644
--- a/src/components/Player.vue
+++ b/src/components/Player.vue
@@ -33,6 +33,19 @@
+
+
+
-
text.replace(/:([^: ]+?):/g, "").replace(/ •/g, "\n•")
@@ -106,6 +144,7 @@ export default {
takeScreenshot() {
const { width, height, x, y } = this.$refs.player.getBoundingClientRect();
this.$emit("screenshot", { width, height, x, y });
+ this.isMenuOpen = false;
},
toggleStatus() {
if (this.grimoire.isPublic) {
@@ -128,6 +167,7 @@ export default {
if (this.session.isSpectator) return;
const name = prompt("Player name", this.player.name) || this.player.name;
this.updatePlayer("name", name);
+ this.isMenuOpen = false;
},
removeReminder(reminder) {
const reminders = [...this.player.reminders];
@@ -141,6 +181,13 @@ export default {
property,
value
});
+ },
+ initSwap() {
+ this.isMenuOpen = false;
+ this.$emit("swap-seats");
+ },
+ doSwap(cancel) {
+ this.$emit("swap-seats", cancel ? false : this.player);
}
}
};
@@ -149,6 +196,17 @@ export default {