Fixed recent typo from afca445

This commit is contained in:
NotWearingPants 2021-03-23 16:08:26 +02:00 committed by GitHub
parent 64381abea9
commit 61eb66d6c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ import { IWebviewService, Webview } from 'vs/workbench/contrib/webview/browser/w
const PRIORITY = 100;
function overrideCommandForWebview(command: MultiCommand | undefined, f: (webview: Webview) => void) {
command?.addImplementation(PRIORITY, 'webiew', accessor => {
command?.addImplementation(PRIORITY, 'webview', accessor => {
const webviewService = accessor.get(IWebviewService);
const webview = webviewService.activeWebview;
if (webview?.isFocused) {