mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
reveal chat zone should always reveal position in editor (#229838)
fixes https://github.com/microsoft/vscode-copilot/issues/8509
This commit is contained in:
@@ -168,6 +168,7 @@ export class InlineChatZoneWidget extends ZoneWidget {
|
||||
}
|
||||
|
||||
reveal(position: Position) {
|
||||
this.editor.revealLinesInCenterIfOutsideViewport(position.lineNumber, position.lineNumber, ScrollType.Immediate);
|
||||
this._scrollUp.reset();
|
||||
this.updatePositionAndHeight(position);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user