sandbox - remove dependency to native keymap on startup

This commit is contained in:
Benjamin Pasero
2020-08-31 16:58:21 +02:00
parent b6071d2204
commit bc797a3b0b
5 changed files with 8 additions and 13 deletions

View File

@@ -303,7 +303,7 @@ export class CodeApplication extends Disposable {
const nativeKeymap = await import('native-keymap');
nativeKeymap.onDidChangeKeyboardLayout(() => {
if (this.windowsMainService) {
this.windowsMainService.sendToAll('vscode:keyboardLayoutChanged', false);
this.windowsMainService.sendToAll('vscode:keyboardLayoutChanged');
}
});
})();