diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a749b1..a87d332 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Fixes [#2377](https://github.com/gitkraken/vscode-gitlens/issues/2377) - Missing Azure Devops Icon - Fixes [#2380](https://github.com/gitkraken/vscode-gitlens/issues/2380) - Autolink fails with curly braces - Fixes [#2381](https://github.com/gitkraken/vscode-gitlens/issues/2381) - can't use scrollbar in 'Commit Graph' view +- Fixes an issue where focusout hides toolbar actions for the graph - Fixes an issue where _Switch to Another Branch..._ doesn't work in the Graph editor toolbar - Fixes graph issue with row highlighting/dimming sticking when the graph loses focus - Fixes graph issue with branches remaining hovered/extended when the mouse leaves the graph diff --git a/src/webviews/webviewBase.ts b/src/webviews/webviewBase.ts index c001e9c..f558a9c 100644 --- a/src/webviews/webviewBase.ts +++ b/src/webviews/webviewBase.ts @@ -219,7 +219,7 @@ export abstract class WebviewBase implements Disposable { args: { 0: e => `focused=${e.focused}, inputFocused=${e.inputFocused}` }, }) protected onViewFocusChanged(e: WebviewFocusChangedParams): void { - this.setContextKeys(e.focused, e.focused, e.inputFocused); + this.setContextKeys(undefined, e.focused, e.inputFocused); this.onFocusChanged?.(e.focused); }