We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5338ec7 + 988bbc7 commit 507312aCopy full SHA for 507312a
src/vs/base/browser/ui/menu/menubar.ts
@@ -954,6 +954,16 @@ class ModifierKeyEmitter extends Emitter<IModifierKeyStatus> {
954
this._keyStatus.lastKeyPressed = undefined;
955
}));
956
957
+ this._subscriptions.push(domEvent(document.body, 'mouseup', true)(e => {
958
+ this._keyStatus.lastKeyPressed = undefined;
959
+ }));
960
+
961
+ this._subscriptions.push(domEvent(document.body, 'mousemove', true)(e => {
962
+ if (e.buttons) {
963
964
+ }
965
966
967
this._subscriptions.push(domEvent(window, 'blur')(e => {
968
969
this._keyStatus.lastKeyReleased = undefined;
0 commit comments