提交 6cb35a72 编写于 作者: P Peng Lyu

reload keymapper correctly after reload

上级 0fb1b17d
......@@ -220,10 +220,6 @@ export class BrowserKeyboardMapperFactory {
private _setKeyboardData(layoutInfo: IKeyboardLayoutInfo, rawMapping: IKeyboardMapping): void {
this._layoutInfo = layoutInfo;
if (this._initialized && BrowserKeyboardMapperFactory._equals(this._rawMapping, rawMapping)) {
// nothing to do...
return;
}
this._initialized = true;
this._rawMapping = rawMapping;
this._keyboardMapper = new CachedKeyboardMapper(BrowserKeyboardMapperFactory._createKeyboardMapper(this._layoutInfo, this._rawMapping));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册