We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d124102 commit cade368Copy full SHA for cade368
1 file changed
src/vs/workbench/contrib/output/browser/outputView.ts
@@ -43,7 +43,6 @@ export class OutputViewPane extends ViewPane {
43
private readonly editor: OutputEditor;
44
private channelId: string | undefined;
45
private editorPromise: Promise<OutputEditor> | null = null;
46
- private actions: IAction[] | undefined;
47
48
private readonly scrollLockContextKey: IContextKey<boolean>;
49
get scrollLock(): boolean { return !!this.scrollLockContextKey.get(); }
@@ -109,7 +108,7 @@ export class OutputViewPane extends ViewPane {
109
108
}
110
111
const model = codeEditor.getModel();
112
- if (model && this.actions) {
+ if (model) {
113
const newPositionLine = e.position.lineNumber;
114
const lastLine = model.getLineCount();
115
this.scrollLock = lastLine !== newPositionLine;
0 commit comments