mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-14 04:00:38 +01:00
@@ -173,7 +173,7 @@ export class ReviewZoneWidget extends ZoneWidget implements ICommentThreadWidget
|
||||
|
||||
public reveal(commentUniqueId?: number, focus: boolean = false) {
|
||||
if (!this._isExpanded) {
|
||||
this.show({ lineNumber: this._commentThread.range.startLineNumber, column: 1 }, 2);
|
||||
this.show({ lineNumber: this._commentThread.range.endLineNumber, column: 1 }, 2);
|
||||
}
|
||||
|
||||
if (commentUniqueId !== undefined) {
|
||||
@@ -258,7 +258,7 @@ export class ReviewZoneWidget extends ZoneWidget implements ICommentThreadWidget
|
||||
|
||||
public expand(): Promise<void> {
|
||||
this._commentThread.collapsibleState = languages.CommentThreadCollapsibleState.Expanded;
|
||||
const lineNumber = this._commentThread.range.startLineNumber;
|
||||
const lineNumber = this._commentThread.range.endLineNumber;
|
||||
|
||||
this.show({ lineNumber, column: 1 }, 2);
|
||||
return Promise.resolve();
|
||||
|
||||
Reference in New Issue
Block a user