Ver a proveniência

Debounces other active line events

main
Eric Amodio há 7 anos
ascendente
cometimento
9da80c121b
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      src/blameActiveLineController.ts

+ 2
- 2
src/blameActiveLineController.ts Ver ficheiro

@ -140,7 +140,7 @@ export class BlameActiveLineController extends Disposable {
this.git.getBlameForFile(this._uri);
}
this._updateBlame(editor.selection.active.line, editor);
this._updateBlameDebounced(editor.selection.active.line, editor);
}
private _onBlameabilityChanged(e: BlameabilityChangeEvent) {
@ -153,7 +153,7 @@ export class BlameActiveLineController extends Disposable {
// Make sure this is for the editor we are tracking
if (!TextEditorComparer.equals(this._editor, e.editor)) return;
this._updateBlame(this._editor.selection.active.line, this._editor);
this._updateBlameDebounced(this._editor.selection.active.line, this._editor);
}
private _onBlameAnnotationToggled() {

Carregando…
Cancelar
Guardar