Switched to alt for letter keycombos (avoid conflict with capitalisation)
This commit is contained in:
parent
1a8b4be3ae
commit
3c7cd43e38
1 changed files with 2 additions and 1 deletions
|
|
@ -31,6 +31,7 @@ const keyCodes = {
|
||||||
enter: 13,
|
enter: 13,
|
||||||
esc: 27,
|
esc: 27,
|
||||||
shift: 16,
|
shift: 16,
|
||||||
|
alt: 18,
|
||||||
t: 84
|
t: 84
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -305,7 +306,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
letterKeyHandler: function(keyCodes) {
|
letterKeyHandler: function(keyCodes) {
|
||||||
if (keyCodes.shift in this.keysDown && keyCodes.t in this.keysDown) {
|
if (keyCodes.alt in this.keysDown && keyCodes.t in this.keysDown) {
|
||||||
this.$tours["guidedTour"].start();
|
this.$tours["guidedTour"].start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue