I'm using PivotControls in a scene with OrbitControls. It happens that I'm close to the control but want to pan the OrbitControls with a right click. In such cases, the browser opens a default menu. I would prefer no reaction on the right (context) click.
Moreover, I think it is more intuitive if the PivotControls can only be operated with mouse button 0 (left button)
Suggested implementation:
In the single components , , , the event needs to cancel the default behavior:
Describe the feature you'd like:
I'm using PivotControls in a scene with OrbitControls. It happens that I'm close to the control but want to pan the OrbitControls with a right click. In such cases, the browser opens a default menu. I would prefer no reaction on the right (context) click.
Moreover, I think it is more intuitive if the PivotControls can only be operated with mouse button 0 (left button)
Suggested implementation:
In the single components, , , the event needs to cancel the default behavior:
moreover, I would add the check for button = 0 in the onPointerDown event