mirror of https://github.com/bra1n/townsquare.git
shortcut keys now also consider caps (fixes #14)
This commit is contained in:
parent
505593d1c6
commit
e68a3fd067
|
@ -46,7 +46,7 @@ export default {
|
||||||
this.$refs.menu.takeScreenshot(dimensions);
|
this.$refs.menu.takeScreenshot(dimensions);
|
||||||
},
|
},
|
||||||
keyup({ key }) {
|
keyup({ key }) {
|
||||||
switch (key) {
|
switch (key.toLocaleLowerCase()) {
|
||||||
case "g":
|
case "g":
|
||||||
this.$store.commit("toggleGrimoire");
|
this.$store.commit("toggleGrimoire");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue