Skip to content

Conversation

kxxhan
Copy link
Contributor

@kxxhan kxxhan commented Nov 13, 2024

Description
I’m developing a 3D Point Cloud editor using Three.js, and I’m using ArcballControls because it’s the best fit for this project. While editing (especially when removing noise points at specific click locations), unwanted focus events often get triggered by double-tap actions, which hurts the user experience.

To improve this, I’ve modified ArcballControls to prevent double-tap (or double-click) actions from triggering focus when it’s not wanted. I’ve added a new enableFocus property that allows users to disable the focus action, helping to avoid interruptions during editing.

Here's a GIF showing how it works:
ArcballControls

@Mugen87 Mugen87 merged commit e0a7471 into mrdoob:dev Nov 18, 2024
9 of 10 checks passed
@Mugen87 Mugen87 added this to the r171 milestone Nov 18, 2024
@Mugen87 Mugen87 changed the title ArcballControls: Arcball optional focus ArcballControls: Add enableFocus. Nov 18, 2024
@Methuselah96 Methuselah96 mentioned this pull request Dec 14, 2024
31 tasks
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