1 thought on “mouseup not working using TrackballCamera and dat.gui

  1. For the record, @mrdoob is referring to passing the render context (renderer.domElement) to the controls call, like so:

    controls = new THREE.TrackballControls( camera, renderer.domElement );
    

    This tells the controls to only work when the mouse is over the renderer’s domElement (the canvas). This change fixed the problems I was having with dat.GUI while using TrackballControls.

Comments are closed.