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 4bb3809 commit 19116d5Copy full SHA for 19116d5
src/vs/editor/browser/widget/multiDiffEditorWidget/multiDiffEditorViewModel.ts
@@ -28,9 +28,11 @@ export class MultiDiffEditorViewModel extends Disposable {
28
}
29
30
public collapseAll(): void {
31
- for (const d of this.items.get()) {
32
- d.collapsed.set(true, undefined);
33
- }
+ transaction(tx => {
+ for (const d of this.items.get()) {
+ d.collapsed.set(true, tx);
34
+ }
35
+ });
36
37
38
constructor(
0 commit comments