Skip to content

Commit 6f46fab

Browse files
feat: add IA_MODIFIER input action support (#1390)
Co-authored-by: Steven Williams <stevenwritescode@gmail.com>
1 parent ec25d50 commit 6f46fab

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

packages/@dcl/ecs/src/engine/input.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ const InputCommands: InputAction[] = [
1919
InputAction.IA_ACTION_3,
2020
InputAction.IA_ACTION_4,
2121
InputAction.IA_ACTION_5,
22-
InputAction.IA_ACTION_6
22+
InputAction.IA_ACTION_6,
23+
InputAction.IA_MODIFIER
2324
]
2425
/**
2526
* @public

test/snapshots/production-bundles/append-value-crdt.ts.crdt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ CALL onUpdate(0.1)
5555
OPCODES ~= 15k
5656
MALLOC_COUNT = 31
5757
ALIVE_OBJS_DELTA ~= 0.01k
58-
MEMORY_USAGE_COUNT ~= 1059.96k bytes
58+
MEMORY_USAGE_COUNT ~= 1059.97k bytes

test/snapshots/production-bundles/ui.ts.crdt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ CALL onUpdate(0.1)
6565
OPCODES ~= 69k
6666
MALLOC_COUNT = 0
6767
ALIVE_OBJS_DELTA ~= 0.00k
68-
MEMORY_USAGE_COUNT ~= 1878.60k bytes
68+
MEMORY_USAGE_COUNT ~= 1878.61k bytes

test/snapshots/production-bundles/with-main-function.ts.crdt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ CALL onUpdate(0.1)
3737
OPCODES ~= 4k
3838
MALLOC_COUNT = 13
3939
ALIVE_OBJS_DELTA ~= 0.00k
40-
MEMORY_USAGE_COUNT ~= 2897.31k bytes
40+
MEMORY_USAGE_COUNT ~= 2897.32k bytes

0 commit comments

Comments
 (0)