mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
updating left position on model change
This commit is contained in:
parent
d62534a60f
commit
042b44aee5
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ export class StickyScrollWidget extends Disposable implements IOverlayWidget {
|
|||
this._updateWidgetWidth();
|
||||
}
|
||||
}));
|
||||
this._register(this._editor.onDidChangeModel(() => {
|
||||
updateScrollLeftPosition();
|
||||
}));
|
||||
updateScrollLeftPosition();
|
||||
|
||||
this._register(this._editor.onDidLayoutChange((e) => {
|
||||
|
|
Loading…
Reference in a new issue