Skip to content

Commit 6cb35a7

Browse files
committed
reload keymapper correctly after reload
1 parent 0fb1b17 commit 6cb35a7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/vs/workbench/services/keybinding/browser/keyboardLayoutService.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,6 @@ export class BrowserKeyboardMapperFactory {
220220

221221
private _setKeyboardData(layoutInfo: IKeyboardLayoutInfo, rawMapping: IKeyboardMapping): void {
222222
this._layoutInfo = layoutInfo;
223-
if (this._initialized && BrowserKeyboardMapperFactory._equals(this._rawMapping, rawMapping)) {
224-
// nothing to do...
225-
return;
226-
}
227223
this._initialized = true;
228224
this._rawMapping = rawMapping;
229225
this._keyboardMapper = new CachedKeyboardMapper(BrowserKeyboardMapperFactory._createKeyboardMapper(this._layoutInfo, this._rawMapping));

0 commit comments

Comments
 (0)