提交 96625aad 编写于 作者: S SteVen Batten

fix #54723

上级 edeb0a3d
......@@ -1166,6 +1166,9 @@ class ModifierKeyEmitter extends Emitter<IModifierKeyStatus> {
this.fire(this._keyStatus);
}
}));
this._subscriptions.push(domEvent(document.body, 'mousedown')(e => {
this._keyStatus.lastKeyPressed = undefined;
}));
this._subscriptions.push(domEvent(window, 'blur')(e => {
this._keyStatus.lastKeyPressed = undefined;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册