Remove modifier check for bracket navigation
On some keyboards, modifiers are needed for bracket input. This change removes the check for modifiers to allow for this. Bug: Issue 5460 Change-Id: Id69a408a927debc94271885bdaf77b4fbe92080b
This commit is contained in:
parent
debaf78b56
commit
997b9a6517
@ -417,16 +417,14 @@
|
||||
},
|
||||
|
||||
_handleLeftBracketKey: function(e) {
|
||||
if (this.shouldSuppressKeyboardShortcut(e) ||
|
||||
this.modifierPressed(e)) { return; }
|
||||
if (this.shouldSuppressKeyboardShortcut(e)) { return; }
|
||||
|
||||
e.preventDefault();
|
||||
this._openSelectedFile(this._files.length - 1);
|
||||
},
|
||||
|
||||
_handleRightBracketKey: function(e) {
|
||||
if (this.shouldSuppressKeyboardShortcut(e) ||
|
||||
this.modifierPressed(e)) { return; }
|
||||
if (this.shouldSuppressKeyboardShortcut(e)) { return; }
|
||||
|
||||
e.preventDefault();
|
||||
this._openSelectedFile(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user