• A
    Commented out "event.preventDefault" on various Controls. · f5e3426c
    alteredq 提交于
    Sorry @dmenne and @mrdoob, unfortunately this was causing more pains than it solved (#1986).
    
    This interfered with very common use patterns on vanilla browser settings (e.g. page reloading or opening of console) while it helped just with a specific customized browser issue.
    
    And it doesn't help to just call preventDefault on "consumed" events, as individual keys can be still part of multi-key hotkey combos (e.g. "R" is used both in FlyControls and "ctrl+R").
    f5e3426c
TrackballControls.js 7.7 KB