Pārlūkot izejas kodu

Tuned blame line highlighting

main
Alexey Vasyukov pirms 7 gadiem
revīziju iesūtīja Eric Amodio
vecāks
revīzija
838fcbf0a1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/annotations/blameAnnotationProvider.ts

+ 1
- 1
src/annotations/blameAnnotationProvider.ts Parādīt failu

@ -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);
}

Notiek ielāde…
Atcelt
Saglabāt