Selaa lähdekoodia

Prevents focus hiding toolbar actions

main
Keith Daulton 1 vuosi sitten
vanhempi
commit
c63bc3d530
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/webviews/webviewBase.ts

+ 1
- 0
CHANGELOG.md Näytä tiedosto

@ -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 Näytä tiedosto

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

Ladataan…
Peruuta
Tallenna