mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 19:33:09 +02:00
Improve keyboard shortcuts
This commit is contained in:
parent
f4045fb5b3
commit
dba04cc59c
2 changed files with 6 additions and 6 deletions
|
@ -77,10 +77,10 @@ export default Vue.extend({
|
|||
return {
|
||||
'esc': this.close,
|
||||
'enter|space|plus': this.choose,
|
||||
'up': this.focusUp,
|
||||
'right': this.focusRight,
|
||||
'down': this.focusDown,
|
||||
'left': this.focusLeft,
|
||||
'up|k': this.focusUp,
|
||||
'left|h|shift+tab': this.focusLeft,
|
||||
'right|l|tab': this.focusRight,
|
||||
'down|j': this.focusDown,
|
||||
'1': () => this.react('like'),
|
||||
'2': () => this.react('love'),
|
||||
'3': () => this.react('laugh'),
|
||||
|
|
|
@ -116,8 +116,8 @@ export default Vue.extend({
|
|||
'r|left': this.reply,
|
||||
'a|plus': () => this.react(true),
|
||||
'q|right': this.renote,
|
||||
'up|shift+tab': this.focusBefore,
|
||||
'down|tab': this.focusAfter,
|
||||
'up|k|shift+tab': this.focusBefore,
|
||||
'down|j|tab': this.focusAfter,
|
||||
'1': () => this.reactDirectly('like'),
|
||||
'2': () => this.reactDirectly('love'),
|
||||
'3': () => this.reactDirectly('laugh'),
|
||||
|
|
Loading…
Reference in a new issue