pythreejs icon indicating copy to clipboard operation
pythreejs copied to clipboard

Panning option without `ctrl` key

Open scottlittle opened this issue 6 years ago • 1 comments

Designing a pseudo-2D app where enableRotate = False in OrbitControls. This works, and I can get the desired drag and pan movement while holding the ctrl key down. But for convenience, is there a way that I could make drag and pan the primary mouse movement?

scottlittle avatar Jan 21 '19 19:01 scottlittle

Not currently. There is code on the JS side to allow this configuration, but currently, the wiring code to allow to configure this has not been set up . We would need to define an enum type to specify mouse buttons, and maybe later also a way to specify keyboard keys.

vidartf avatar Jan 22 '19 12:01 vidartf