Browse Source

Prevents focus hiding toolbar actions

main
Keith Daulton 2 years ago
parent
commit
c63bc3d530
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/webviews/webviewBase.ts

+ 1
- 0
CHANGELOG.md View File

@ -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

+ 1
- 1
src/webviews/webviewBase.ts View File

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

Loading…
Cancel
Save