From 661233c2efe449a14c07caaa67fc18771ad48d1a Mon Sep 17 00:00:00 2001 From: cha0s Date: Tue, 10 May 2022 16:12:54 -0500 Subject: [PATCH] refactor: pointerMove --- packages/app/src/components/app/play/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/components/app/play/index.jsx b/packages/app/src/components/app/play/index.jsx index 973c179..82cd663 100644 --- a/packages/app/src/components/app/play/index.jsx +++ b/packages/app/src/components/app/play/index.jsx @@ -57,7 +57,7 @@ function Play() { selfEntity.listenForInput(inputNormalizer); selfEntity.actionRegistry.setTransformerFor('UseItem', (type, value) => { switch (type) { - case 'joystick': + case 'joystickMove': return value === 0 ? -1 : selfEntity.activeSlotIndex; case 'buttonPress': case 'keyDown':