three.js - Trackball Controls taking over the screen -


I own three. I am trying to add a basic trackball control to the JS scene, however, while doing so, it can control my entire screen, I can not right click on anything on the screen or click in a text box.

You have to do if you want to change that behavior, then your own changes will prevent default behavior. Are:

  function mouse down (event) {if (_this.enabled === incorrect) return; Event.preventDefault (); Event.stopPropagation ();    

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

c# - Textbox not clickable but editable -

Matlab transpose a table vector -