Skip to content

Commit 2130072

Browse files
committed
Removes extra container call
1 parent f017acf commit 2130072

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/annotations/lineAnnotationController.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@ export class LineAnnotationController implements Disposable {
178178
cc.exitDetails = ` ${GlyphChars.Dot} line(s)=${lines.join()}`;
179179
}
180180

181-
const scrollable = Container.config.currentLine.scrollable;
182-
183181
const decorations = [];
184182
for (const l of lines) {
185183
const state = Container.lineTracker.getState(l);
@@ -189,7 +187,7 @@ export class LineAnnotationController implements Disposable {
189187
state.commit,
190188
cfg.format,
191189
cfg.dateFormat === null ? Container.config.defaultDateFormat : cfg.dateFormat,
192-
scrollable
190+
cfg.scrollable
193191
) as DecorationOptions;
194192
decoration.range = editor.document.validateRange(
195193
new Range(l, Number.MAX_SAFE_INTEGER, l, Number.MAX_SAFE_INTEGER)

0 commit comments

Comments
 (0)