Skip to content

Commit 896c9da

Browse files
authored
fix wrong zones property, causing correct $zones array accumulation (#5828)
1 parent 017341f commit 896c9da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ext/diff/base_diff_view.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,14 @@ class BaseDiffView {
346346
if (!this.activeEditor) {
347347
return;
348348
}
349-
this.activeEditor.renderer.$scrollDecorator.zones = [];
349+
this.activeEditor.renderer.$scrollDecorator.$zones = [];
350350
}
351351
else {
352352
if (!this.editorA || !this.editorB) {
353353
return;
354354
}
355-
this.editorA.renderer.$scrollDecorator.zones = [];
356-
this.editorB.renderer.$scrollDecorator.zones = [];
355+
this.editorA.renderer.$scrollDecorator.$zones = [];
356+
this.editorB.renderer.$scrollDecorator.$zones = [];
357357
}
358358

359359
/**

0 commit comments

Comments
 (0)