Skip to content

Commit 230a626

Browse files
authored
Merge pull request microsoft#182705 from tisilent/microsoft#182702
fix microsoft#182702
2 parents 37e08ec + 334c4eb commit 230a626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/contrib/zoneWidget/browser/zoneWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ export abstract class ZoneWidget implements IHorizontalSashLayoutProvider {
432432
const model = this.editor.getModel();
433433
if (model) {
434434
const range = model.validateRange(new Range(where.startLineNumber, 1, where.endLineNumber + 1, 1));
435-
this.revealRange(range, range.endLineNumber === model.getLineCount());
435+
this.revealRange(range, range.startLineNumber === model.getLineCount());
436436
}
437437
}
438438

0 commit comments

Comments
 (0)