Skip to content

Commit

Permalink
fixes #97605
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed May 12, 2020
1 parent 5185d7e commit a2a5971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/statusbar/statusbarPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ class StatusbarEntryItem extends Disposable {
const command = entry.command;
if (command) {
this.commandMouseListener.value = addDisposableListener(this.labelContainer, EventType.CLICK, () => this.executeCommand(command));
this.commandKeyboardListener.value = addDisposableListener(this.labelContainer, EventType.KEY_UP, e => {
this.commandKeyboardListener.value = addDisposableListener(this.labelContainer, EventType.KEY_DOWN, e => {
const event = new StandardKeyboardEvent(e);
if (event.equals(KeyCode.Space) || event.equals(KeyCode.Enter)) {
this.executeCommand(command);
Expand Down

0 comments on commit a2a5971

Please sign in to comment.