fix scm synthetic focus
This commit is contained in:
parent
f77b6f64de
commit
8f9c6b3830
1 changed files with 2 additions and 0 deletions
|
@ -1220,6 +1220,7 @@ class SCMInputWidget extends Disposable {
|
|||
|
||||
set input(input: ISCMInput | undefined) {
|
||||
this.validationDisposable.dispose();
|
||||
removeClass(this.editorContainer, 'synthetic-focus');
|
||||
|
||||
this.repositoryDisposables.dispose();
|
||||
this.repositoryDisposables = new DisposableStore();
|
||||
|
@ -1412,6 +1413,7 @@ class SCMInputWidget extends Disposable {
|
|||
|
||||
focus(): void {
|
||||
this.inputEditor.focus();
|
||||
addClass(this.editorContainer, 'synthetic-focus');
|
||||
}
|
||||
|
||||
private renderValidation(): void {
|
||||
|
|
Loading…
Reference in a new issue