Skip to content

Commit b833970

Browse files
authored
Merge pull request microsoft#184305 from microsoft/joh/fix4342
disable toggle inline diff of `alt` down
2 parents 506cd50 + 5a46bac commit b833970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/interactiveEditor/browser/interactiveEditorStrategies.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export class LiveStrategy extends EditModeStrategy {
230230
this._diffToggleListener = modKeys.event(() => {
231231
const isAlt = modKeys.keyStatus.altKey && (!modKeys.keyStatus.ctrlKey && !modKeys.keyStatus.metaKey && !modKeys.keyStatus.shiftKey);
232232
if (lastIsAlt !== isAlt) {
233-
this.toggleDiff();
233+
// this.toggleDiff();
234234
lastIsAlt = isAlt;
235235
}
236236
});

0 commit comments

Comments
 (0)