mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
parent
86127f05df
commit
8791b84649
|
@ -142,6 +142,7 @@ export class BreakpointWidget extends ZoneWidget implements IPrivateBreakopintWi
|
|||
this.createBreakpointInput(dom.append(container, $('.inputContainer')));
|
||||
|
||||
this.input.getModel().setValue(this.getInputValue(this.breakpoint));
|
||||
this.input.setPosition({ lineNumber: 1, column: this.input.getModel().getLineMaxColumn(1) });
|
||||
// Due to an electron bug we have to do the timeout, otherwise we do not get focus
|
||||
setTimeout(() => this.input.focus(), 100);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue