mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-28 05:37:48 +01:00
Fixes #191600
This commit is contained in:
committed by
Henning Dieterichs
parent
662ce156c0
commit
c39b2fffa6
@@ -365,7 +365,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
||||
const children: HTMLElement[] = [];
|
||||
if (!this.hide) {
|
||||
const lineCount = _unchangedRegion.getHiddenModifiedRange(reader).length;
|
||||
const linesHiddenText = localize('hiddenLines', '{0} Hidden Lines', lineCount);
|
||||
const linesHiddenText = localize('hiddenLines', '{0} hidden lines', lineCount);
|
||||
const span = $('span', { title: localize('diff.hiddenLines.expandAll', 'Double click to unfold') }, linesHiddenText);
|
||||
span.addEventListener('dblclick', e => {
|
||||
if (e.button !== 0) { return; }
|
||||
|
||||
Reference in New Issue
Block a user