Remove duplicate enter handler (#160339)

Remove duplicate enter handler, fix #160191
This commit is contained in:
Rob Lourens
2022-09-09 21:12:59 -05:00
committed by GitHub
parent a18cc47b7b
commit e373bdd2fc

View File

@@ -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();