From 4ba5b85630a21a4c21ca8dbc4d1417b627ddc148 Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 13 Apr 2021 17:00:35 +0100 Subject: [PATCH] fixed overrides not working with opposite shift --- src/js/input-controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/input-controller.js b/src/js/input-controller.js index 0e975aa0e..3f5c07c1e 100644 --- a/src/js/input-controller.js +++ b/src/js/input-controller.js @@ -457,7 +457,9 @@ function handleAlpha(event) { return; if (event.metaKey) return; - let originalEvent = event; + let originalEvent = { + code: event.code, + }; event = LayoutEmulator.updateEvent(event);