mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
Improve keyboard shortcuts
This commit is contained in:
parent
c0ce89b57b
commit
6bf5c9b8b5
@ -77,10 +77,10 @@ export default Vue.extend({
|
|||||||
return {
|
return {
|
||||||
'esc': this.close,
|
'esc': this.close,
|
||||||
'enter|space|plus': this.choose,
|
'enter|space|plus': this.choose,
|
||||||
'up': this.focusUp,
|
'up|k': this.focusUp,
|
||||||
'right': this.focusRight,
|
'left|h|shift+tab': this.focusLeft,
|
||||||
'down': this.focusDown,
|
'right|l|tab': this.focusRight,
|
||||||
'left': this.focusLeft,
|
'down|j': this.focusDown,
|
||||||
'1': () => this.react('like'),
|
'1': () => this.react('like'),
|
||||||
'2': () => this.react('love'),
|
'2': () => this.react('love'),
|
||||||
'3': () => this.react('laugh'),
|
'3': () => this.react('laugh'),
|
||||||
|
@ -116,8 +116,8 @@ export default Vue.extend({
|
|||||||
'r|left': this.reply,
|
'r|left': this.reply,
|
||||||
'a|plus': () => this.react(true),
|
'a|plus': () => this.react(true),
|
||||||
'q|right': this.renote,
|
'q|right': this.renote,
|
||||||
'up|shift+tab': this.focusBefore,
|
'up|k|shift+tab': this.focusBefore,
|
||||||
'down|tab': this.focusAfter,
|
'down|j|tab': this.focusAfter,
|
||||||
'1': () => this.reactDirectly('like'),
|
'1': () => this.reactDirectly('like'),
|
||||||
'2': () => this.reactDirectly('love'),
|
'2': () => this.reactDirectly('love'),
|
||||||
'3': () => this.reactDirectly('laugh'),
|
'3': () => this.reactDirectly('laugh'),
|
||||||
|
Loading…
Reference in New Issue
Block a user