threeDart/three.dart

orbit_controls.dart is broken due to browser changes

Opened this issue · 2 comments

  • using the mouse-wheel fails inside dartium
    a field name has changed
    wheelDeltaY => deltaY

  • when transpiling to JS and running in chrome 44 another failure occurs when using the mouse:

    Uncaught TypeError: $event.get$clientX is not a function

    which I have not been able to track down yet

Possibly relevant for the second problem:

dart-lang/sdk#15216

the second problem can be fixed by rewriting
clientX => client.x