Browse Source

Fixes webview context keys not set properly

main
Eric Amodio 1 year ago
parent
commit
d6825163b1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/webviews/webviewController.ts

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

@ -467,9 +467,9 @@ function resetContextKeys(
function setContextKeys(
contextKeyPrefix: `${ContextKeys.WebviewPrefix}${WebviewIds}` | `${ContextKeys.WebviewViewPrefix}${WebviewViewIds}`,
active?: boolean,
focus?: boolean,
inputFocus?: boolean,
active?: boolean,
): void {
if (contextKeyPrefix.startsWith(ContextKeys.WebviewPrefix)) {
if (active != null) {

Loading…
Cancel
Save