This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixes webview context keys not set properly
main
Eric Amodio
1 year ago
parent
f2b82cd11e
commit
d6825163b1
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
{
Write
Preview
Loading…
Cancel
Save