Przeglądaj źródła

Tuned blame line highlighting

main
Alexey Vasyukov 7 lat temu
committed by Eric Amodio
rodzic
commit
838fcbf0a1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/annotations/blameAnnotationProvider.ts

+ 1
- 1
src/annotations/blameAnnotationProvider.ts Wyświetl plik

@ -57,7 +57,7 @@ export abstract class BlameAnnotationProviderBase extends AnnotationProviderBase
}
const highlightDecorationRanges = Arrays.filterMap(blame.lines,
l => l.sha !== sha ? this.editor.document.validateRange(new Range(l.line, 0, l.line, 1000000)) : undefined);
l => l.sha === sha ? this.editor.document.validateRange(new Range(l.line, 0, l.line, 1000000)) : undefined);
this.editor.setDecorations(this.highlightDecoration, highlightDecorationRanges);
}

Ładowanie…
Anuluj
Zapisz