diff --git a/public/index.html b/public/index.html index 88c0895..2f0d5a2 100644 --- a/public/index.html +++ b/public/index.html @@ -25,7 +25,7 @@ - + diff --git a/src/App.vue b/src/App.vue index 2556c5b..a1da4eb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,10 +3,7 @@ id="app" @keyup="keyup" tabindex="-1" - :class="{ - screenshot: grimoire.isScreenshot, - night: grimoire.isNight - }" + :class="{ night: grimoire.isNight }" :style="{ backgroundImage: grimoire.background ? `url('${grimoire.background}')` @@ -19,7 +16,7 @@ - + @@ -76,9 +73,6 @@ export default { }; }, methods: { - takeScreenshot(dimensions) { - this.$refs.menu.takeScreenshot(dimensions); - }, keyup({ key, ctrlKey, metaKey }) { if (ctrlKey || metaKey) return; switch (key.toLocaleLowerCase()) { @@ -220,15 +214,6 @@ body { } } -// Firefox doesn't support screenshot mode yet -@-moz-document url-prefix() { - #controls > span.camera, - .player > .menu .screenshot, - .bluffs > svg.fa-camera { - display: none; - } -} - * { box-sizing: border-box; position: relative; diff --git a/src/components/Menu.vue b/src/components/Menu.vue index fe4612c..6772c21 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -1,6 +1,5 @@