mirror of https://github.com/bra1n/townsquare.git
adding case to hotkeys switch statement for "s" to switch between day and night mode
This commit is contained in:
parent
87c9735b4a
commit
c573908a50
|
@ -107,6 +107,10 @@ export default {
|
||||||
this.$store.commit("toggleModal", "voteHistory");
|
this.$store.commit("toggleModal", "voteHistory");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case "s":
|
||||||
|
if (this.session.isSpectator) return;
|
||||||
|
this.$store.commit("toggleNight");
|
||||||
|
break;
|
||||||
case "escape":
|
case "escape":
|
||||||
this.$store.commit("toggleModal");
|
this.$store.commit("toggleModal");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue