summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-09-18 14:43:54 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-09-18 14:43:54 +0900
commitdba04cc59cb30d3acc9dd03be5c2be63718453e9 (patch)
treedeb3c0178b418cb882d5640689a7a554a7c00388 /src
parentImprove keyboard shortcuts (diff)
downloadmisskey-dba04cc59cb30d3acc9dd03be5c2be63718453e9.tar.gz
misskey-dba04cc59cb30d3acc9dd03be5c2be63718453e9.tar.bz2
misskey-dba04cc59cb30d3acc9dd03be5c2be63718453e9.zip
Improve keyboard shortcuts
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/components/reaction-picker.vue8
-rw-r--r--src/client/app/desktop/views/components/notes.note.vue4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/client/app/common/views/components/reaction-picker.vue b/src/client/app/common/views/components/reaction-picker.vue
index ce0d2a8ea3..fff2c56f00 100644
--- a/src/client/app/common/views/components/reaction-picker.vue
+++ b/src/client/app/common/views/components/reaction-picker.vue
@@ -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'),
diff --git a/src/client/app/desktop/views/components/notes.note.vue b/src/client/app/desktop/views/components/notes.note.vue
index b96f3ab998..d60bce2545 100644
--- a/src/client/app/desktop/views/components/notes.note.vue
+++ b/src/client/app/desktop/views/components/notes.note.vue
@@ -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'),