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

Examples: avoid relying on implicit event parameter #30792

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

s-rigaud
Copy link
Contributor

Related issue: 0a1131f

Description

While migrating the examples a long time ago, some event handler methods were missing an event parameters. Js is a bit junky and inject the event variable by default but having it as a parameter seems cleaner and it allows to be more consistent with other methods.

@Mugen87 Mugen87 merged commit 5c5a685 into mrdoob:dev Mar 25, 2025
11 checks passed
@Mugen87 Mugen87 added this to the r175 milestone Mar 25, 2025
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

Successfully merging this pull request may close these issues.

2 participants