Skip to content

Commit cade368

Browse files
committed
1 parent d124102 commit cade368

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/vs/workbench/contrib/output/browser/outputView.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export class OutputViewPane extends ViewPane {
4343
private readonly editor: OutputEditor;
4444
private channelId: string | undefined;
4545
private editorPromise: Promise<OutputEditor> | null = null;
46-
private actions: IAction[] | undefined;
4746

4847
private readonly scrollLockContextKey: IContextKey<boolean>;
4948
get scrollLock(): boolean { return !!this.scrollLockContextKey.get(); }
@@ -109,7 +108,7 @@ export class OutputViewPane extends ViewPane {
109108
}
110109

111110
const model = codeEditor.getModel();
112-
if (model && this.actions) {
111+
if (model) {
113112
const newPositionLine = e.position.lineNumber;
114113
const lastLine = model.getLineCount();
115114
this.scrollLock = lastLine !== newPositionLine;

0 commit comments

Comments
 (0)