8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2934ee commit 2966683Copy full SHA for 2966683
src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollOverlay.ts
@@ -117,7 +117,11 @@ export class TerminalStickyScrollOverlay extends Disposable {
117
this._syncOptions();
118
this._refresh();
119
}));
120
- this._register(this._instance.onDidChangeVisibility(() => this._refresh()));
+ this._register(this._instance.onDidChangeVisibility(isVisible => {
121
+ if (isVisible) {
122
+ this._refresh();
123
+ }
124
+ }));
125
126
this._getSerializeAddonConstructor().then(SerializeAddon => {
127
if (this._store.isDisposed) {
0 commit comments