Skip to content

Right-click in the editor does not work in Firefox on Widows #68

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

Open
ClementSparrow opened this issue Jun 22, 2023 · 0 comments
Open
Labels
bug Something isn't working editor Concerns the game editor input keyboard, mouse, touch, ... devices, gameplay and accessibility

Comments

@ClementSparrow
Copy link
Owner

(works fine on mac or in other browsers)

Apparently the mousedown event is not triggered during a right click (but mouseup and click events are), probably because the event is replaced with a contextmenu event that P:S listens to and prevents (see src/js/addlisteners.js and function rightClickCanvas in src/js/inputoutput.js).

@ClementSparrow ClementSparrow added bug Something isn't working editor Concerns the game editor input keyboard, mouse, touch, ... devices, gameplay and accessibility labels Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor Concerns the game editor input keyboard, mouse, touch, ... devices, gameplay and accessibility
Projects
None yet
Development

No branches or pull requests

1 participant