You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens because in the inputManager.ts, event.key is being used. It's value is not constant. For example, if you press the "E" key with english keyboard language, the event.key value will be "e", however if you press the "E" again but with (for example greek language) the event.key value will be "ε".
I did some local code testing and I basically replaced every event.key (in inputManager.ts) with String.fromCharCode(event.keyCode). Which is a very goofy method I came up with and I stopped experiencing the issue/bug. I am not sure if this will break any other part of the code because I saw some special conditions being checked for the "Space" key, the "Ctrl" key etc so I did not create a pull request on this.
I also made a bug report on this too in the discord server on April 3rd.
The text was updated successfully, but these errors were encountered:
This happens because in the
inputManager.ts
, event.key is being used. It's value is not constant. For example, if you press the "E" key with english keyboard language, theevent.key
value will be "e", however if you press the "E" again but with (for example greek language) theevent.key
value will be "ε".I did some local code testing and I basically replaced every
event.key
(ininputManager.ts
) withString.fromCharCode(event.keyCode)
. Which is a very goofy method I came up with and I stopped experiencing the issue/bug. I am not sure if this will break any other part of the code because I saw some special conditions being checked for the "Space" key, the "Ctrl" key etc so I did not create a pull request on this.I also made a bug report on this too in the discord server on April 3rd.
The text was updated successfully, but these errors were encountered: