这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@vivagelive
Copy link
Contributor

Previously, the condition if (rightButtonPressed || middleButtonPressed) prevented the middle button from ever returning its intended value (1). Now right button returns 2, and middle button returns 1 as expected. Fixes #104

Previously, the condition `if (rightButtonPressed || middleButtonPressed)`
prevented the middle button from ever returning its intended value (1).
Now right button returns 2, and middle button returns 1 as expected. Fixes Knightro63#104
@Knightro63 Knightro63 merged commit d71b06e into Knightro63:main Sep 23, 2025
1 check failed
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.

OrbitControls: Middle mouse button triggers case 2 instead of case 1

2 participants