From 53d608288dc76288c669ede9eb30e60b3d45a7dc Mon Sep 17 00:00:00 2001 From: Steffen Date: Tue, 15 Dec 2020 15:59:43 +0100 Subject: [PATCH] only empty seats can be claimed by players and ST can clear seats now --- src/App.vue | 4 +- src/components/Menu.vue | 2 +- src/components/Player.vue | 47 +++++++++++++++++------ src/components/Token.vue | 11 ++---- src/components/TownInfo.vue | 10 ++--- src/components/TownSquare.vue | 6 +-- src/components/modals/EditionModal.vue | 6 +-- src/components/modals/FabledModal.vue | 2 +- src/components/modals/NightOrderModal.vue | 4 +- src/components/modals/ReferenceModal.vue | 2 +- src/components/modals/RoleModal.vue | 4 +- src/components/modals/RolesModal.vue | 14 +++---- src/store/socket.js | 6 ++- 13 files changed, 68 insertions(+), 50 deletions(-) diff --git a/src/App.vue b/src/App.vue index fa31921..2556c5b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,11 +3,11 @@ id="app" @keyup="keyup" tabindex="-1" - v-bind:class="{ + :class="{ screenshot: grimoire.isScreenshot, night: grimoire.isNight }" - v-bind:style="{ + :style="{ backgroundImage: grimoire.background ? `url('${grimoire.background}')` : '' diff --git a/src/components/Menu.vue b/src/components/Menu.vue index bedc38d..6406be9 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -26,7 +26,7 @@ :class="{ success: grimoire.isScreenshotSuccess }" /> -