Escでメディアビューワが閉じれるように (#5494)

* EscやBackspaceでメディアビューワが閉じれるように

* Backspaceでは閉じないように
This commit is contained in:
MeiMei
2019-10-21 00:46:14 +09:00
committed by syuilo
parent 4c6c06c80a
commit d672bb4643
3 changed files with 17 additions and 3 deletions

View File

@ -43,7 +43,7 @@ export default (opts: Opts = {}) => ({
'ctrl+q': this.renoteDirectly,
'up|k|shift+tab': this.focusBefore,
'down|j|tab': this.focusAfter,
'esc': this.blur,
//'esc': this.blur,
'm|o': () => this.menu(true),
's': this.toggleShowContent,
'1': () => this.reactDirectly('like'),