mirror of
https://github.com/Microsoft/vscode
synced 2024-10-04 10:27:46 +00:00
Fix cursor position after splitting window (#205107)
The cursor is not in the correct position after splitting the window Fixes #203969
This commit is contained in:
parent
a6a0b0bd91
commit
4531f1a2be
|
@ -280,10 +280,10 @@ class DirtyDiffWidget extends PeekViewWidget {
|
|||
this._actionbarWidget!.context = [diffEditorModel.modified.uri, providerSpecificChanges, contextIndex];
|
||||
if (usePosition) {
|
||||
this.show(position, height);
|
||||
}
|
||||
this.editor.setPosition(position);
|
||||
this.editor.focus();
|
||||
}
|
||||
}
|
||||
|
||||
private renderTitle(label: string): void {
|
||||
const providerChanges = this.model.mapChanges.get(label)!;
|
||||
|
|
Loading…
Reference in a new issue