Skip to content

Commit 30d4de8

Browse files
committed
adding on did resize call inside of the constructor
1 parent a6ba9af commit 30d4de8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export class StickyScrollController extends Disposable implements IEditorContrib
8585
this._register(this._stickyLineCandidateProvider);
8686

8787
this._widgetState = new StickyScrollWidgetState([], [], 0);
88+
this._onDidResize();
8889
this._readConfiguration();
8990
const stickyScrollDomNode = this._stickyScrollWidget.getDomNode();
9091
this._register(this._editor.onDidChangeConfiguration(e => {

0 commit comments

Comments
 (0)