Skip to content

Commit e50fe69

Browse files
committed
Fixes #247 - File blame annotations won't go away
1 parent 6e8542a commit e50fe69

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [Unreleased]
8+
### Fixed
9+
- Fixes [#247](https://github.com/eamodio/vscode-gitlens/issues/247) - File annotations button or ESC key does not turn off file annotations
10+
711
## [7.5.4] - 2018-01-17
812
### Fixed
913
- Fixes [#249](https://github.com/eamodio/vscode-gitlens/issues/249) - Gitlens disappears from the status bar

src/annotations/annotationProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export abstract class AnnotationProviderBase extends Disposable {
6161
protected additionalDecorations: { decoration: TextEditorDecorationType, ranges: Range[] }[] | undefined;
6262

6363
async clear() {
64-
if (this.editor === undefined || this.additionalDecorations === undefined || this.additionalDecorations.length === 0) return;
64+
if (this.editor === undefined) return;
6565

6666
if (this.decoration !== undefined) {
6767
try {

0 commit comments

Comments
 (0)