Skip to content

Commit 1b58904

Browse files
authored
[MousePointerLock] Update: Fix the mouse acceleration on laptop (Thanks @FlokiTV!)
1 parent b89f557 commit 1b58904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/reviewed/MousePointerLock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
"type": "BuiltinCommonInstructions::JsCode",
133133
"inlineCode": [
134134
"const canvas = runtimeScene.getGame().getRenderer().getCanvas();\r",
135-
"canvas.requestPointerLock();"
135+
"canvas.requestPointerLock({ unadjustedMovement: true });"
136136
],
137137
"parameterObjects": "",
138138
"useStrict": true,

0 commit comments

Comments
 (0)