From c573908a5021c9bb36d5df37a3a76cfb7606ca2f Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 25 Jan 2021 20:29:20 +0000 Subject: [PATCH 1/3] adding case to hotkeys switch statement for "s" to switch between day and night mode --- src/App.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.vue b/src/App.vue index 63c5772..4c8a836 100644 --- a/src/App.vue +++ b/src/App.vue @@ -107,6 +107,10 @@ export default { this.$store.commit("toggleModal", "voteHistory"); } break; + case "s": + if (this.session.isSpectator) return; + this.$store.commit("toggleNight"); + break; case "escape": this.$store.commit("toggleModal"); } From 2515dcc328b9174e1994415a17a086d85593f72f Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 25 Jan 2021 20:30:17 +0000 Subject: [PATCH 2/3] changing menu item for toggle night mode to list the new hotkey for user reference --- src/components/Menu.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/Menu.vue b/src/components/Menu.vue index 3e02702..79715a5 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -43,10 +43,7 @@
  • - + [S]
  • Night order From 1670011a95e0c0c8b380d799caea72cfa9ee4caa Mon Sep 17 00:00:00 2001 From: Dave Date: Wed, 27 Jan 2021 17:27:36 +0000 Subject: [PATCH 3/3] removing sun from font awesome import as it is no longer being used anywhere, --- src/main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.js b/src/main.js index a89be35..d755fc4 100644 --- a/src/main.js +++ b/src/main.js @@ -34,7 +34,6 @@ const faIcons = [ "SearchMinus", "SearchPlus", "Square", - "Sun", "TheaterMasks", "Times", "TimesCircle",