Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

event.isShiftDown() broken #122

Closed
msdemlei opened this issue Mar 26, 2021 · 4 comments
Closed

event.isShiftDown() broken #122

msdemlei opened this issue Mar 26, 2021 · 4 comments

Comments

@msdemlei
Copy link

In CheerpJ-compiled code, the isShiftDown() method of MouseEvents
appears to be broken, at least on Chromium as of Debian buster; in a
clicked handler:

e.isShiftDown()

always returns false for me, regardless of the actual state of the
modifier keys.

In case you cannot reproduce it, I'm happy to investigate this further.

@marsicplusplus
Copy link
Contributor

Hi @msdemlei,

This has been fixed in one of our recent build.

You can try this runtime: https://cjrtnc.leaningtech.com/20201231/loader.js

without the .jar.js file (let the runtime perform the conversion).

@msdemlei
Copy link
Author

msdemlei commented Mar 29, 2021 via email

@marsicplusplus
Copy link
Contributor

Hi @msdemlei,

Both the mouse issue and the assert should be fixed with this:

https://cjrtnc.leaningtech.com/20200419/loader.js

Remember that you can´t use the previously generated .jar.js with this new runtime.

@msdemlei
Copy link
Author

msdemlei commented Apr 19, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants