From afde09fe31642a6e09825ffe15825722cfd2c681 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Thu, 19 Dec 2019 16:40:46 +0100 Subject: [PATCH] add checkProposedApiEnabled checks --- src/vs/workbench/api/common/extHost.api.impl.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/api/common/extHost.api.impl.ts b/src/vs/workbench/api/common/extHost.api.impl.ts index e958b105b24..87558e6d0ec 100644 --- a/src/vs/workbench/api/common/extHost.api.impl.ts +++ b/src/vs/workbench/api/common/extHost.api.impl.ts @@ -552,9 +552,11 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I return extHostQuickOpen.createInputBox(extension.identifier); }, get activeColorTheme(): vscode.ColorTheme { + checkProposedApiEnabled(extension); return extHostTheming.activeColorTheme; }, onDidChangeActiveColorTheme(listener, thisArg?, disposables?) { + checkProposedApiEnabled(extension); return extHostTheming.onDidChangeActiveColorTheme(listener, thisArg, disposables); } }; -- GitLab