shortcut keys now also consider caps (fixes #14)

This commit is contained in:
Steffen 2020-05-24 22:20:32 +02:00
parent 505593d1c6
commit e68a3fd067
No known key found for this signature in database
GPG Key ID: 764D74E98267DFC6
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ export default {
this.$refs.menu.takeScreenshot(dimensions);
},
keyup({ key }) {
switch (key) {
switch (key.toLocaleLowerCase()) {
case "g":
this.$store.commit("toggleGrimoire");
break;