mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 16:58:55 -05:00
Remove duplicate enter handler (#160339)
Remove duplicate enter handler, fix #160191
This commit is contained in:
@@ -99,9 +99,6 @@ export class StartDebugActionViewItem extends BaseActionViewItem {
|
||||
|
||||
this.toDispose.push(dom.addDisposableListener(this.start, dom.EventType.KEY_DOWN, (e: KeyboardEvent) => {
|
||||
const event = new StandardKeyboardEvent(e);
|
||||
if (event.equals(KeyCode.Enter) && this.debugService.state !== State.Initializing) {
|
||||
this.actionRunner.run(this.action, this.context);
|
||||
}
|
||||
if (event.equals(KeyCode.RightArrow)) {
|
||||
this.start.tabIndex = -1;
|
||||
this.selectBox.focus();
|
||||
|
||||
Reference in New Issue
Block a user