Skip to content

Commit 16f38b9

Browse files
authored
Ensure that cursor state change is always emitted upon restoring state (microsoft#203451)
* Set initial cursor position for
1 parent 4ed4f62 commit 16f38b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export class DecorationsOverviewRuler extends ViewPart {
249249
}
250250
});
251251

252-
this._cursorPositions = [];
252+
this._cursorPositions = [new Position(1, 1)];
253253
}
254254

255255
public override dispose(): void {

0 commit comments

Comments
 (0)