Merge pull request #624 from Armored-Dragon/mouselook-keybind-adjustment

mouseLook.js CapsLock adjustment
This commit is contained in:
ksuprynowicz 2023-09-16 12:25:19 +02:00 committed by GitHub
commit a3a9ee5cdc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ by rampa3 (https://github.com/rampa3) and vegaslon (https://github.com/vegaslon)
function onKeyPressEvent(event) {
if (!hmd){
if (event.text === 'm') {
if (event.text.toLowerCase() === 'm') {
if (!keysOnOverlay) {
if (mouseLookEnabled) {
if (!Camera.getCaptureMouse()){