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

Controls: Add null as default parameter for domElement. #29368

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Sep 9, 2024

Related issue: #29079 (comment)

Description

This makes the default value of Controls more consistent with the default value of sub classes.

@Mugen87 Mugen87 added this to the r169 milestone Sep 9, 2024
Copy link

github-actions bot commented Sep 9, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 685.24
169.64
685.24
169.64
+5 B
+3 B
WebGPU 826.37
221.62
826.38
221.62
+5 B
+1 B
WebGPU Nodes 825.96
221.53
825.96
221.53
+5 B
+2 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 462.02
111.48
462.02
111.48
+0 B
+0 B
WebGPU 525.47
141.63
525.47
141.63
+0 B
+0 B
WebGPU Nodes 482.13
131.44
482.13
131.44
+0 B
+0 B

@Mugen87 Mugen87 merged commit 5ce5a0c into mrdoob:dev Sep 9, 2024
12 checks passed
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.

1 participant