claygl icon indicating copy to clipboard operation
claygl copied to clipboard

Orbital Control - Scrolling & Mouse Off Canvas.

Open valentinwinkelmann opened this issue 4 years ago • 0 comments

Two Questions:

1.ClayGL prevents scrolling on the page as soon as the mouse is over the canvas. This is inconvenient for some applications, how can this be prevented? i have set zoomSensitivity in plugin.OrbitControl to 0. but logically this does not disable zooming and thus use of the mouse wheel in general. What is the best way to do this?

1.Also, how is it possible to continue using the OrbitControl's while holding down the mouse button, even when the mouse leaves the canvas. currently, the rotation stops immediately when the mouse leaves the canvas.

valentinwinkelmann avatar Jan 29 '21 17:01 valentinwinkelmann