Skip to content

Commit 4bd1ea3

Browse files
committed
1 parent 19c2382 commit 4bd1ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/browser/widget/diffEditorWidget2/movedBlocksLines.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ class MovedBlockOverlayWidget extends ViewZoneOverlayWidget {
324324
true,
325325
() => {
326326
this._editor.focus();
327-
this._diffModel.movedTextToCompare.set(this._diffModel.movedTextToCompare.get() ? undefined : this._move, undefined);
327+
this._diffModel.movedTextToCompare.set(this._diffModel.movedTextToCompare.get() === _move ? undefined : this._move, undefined);
328328
},
329329
);
330330
this._register(autorun(reader => {

0 commit comments

Comments
 (0)