Merge pull request #165 from UDST/feature/move-tweenlite

Move TweenLite config
feature/web-workers-polygons-memory
Robin Hawkes 2016-08-30 17:23:39 +01:00 zatwierdzone przez GitHub
commit c36a919f7e
4 zmienionych plików z 8 dodań i 8 usunięć

6
dist/vizicities.js vendored
Wyświetl plik

@ -5618,9 +5618,6 @@ return /******/ (function(modules) { // webpackBootstrap
var _TweenLite2 = _interopRequireDefault(_TweenLite);
// Prevent animation from pausing when tab is inactive
_TweenLite2['default'].lagSmoothing(0);
var Orbit = (function (_EventEmitter) {
_inherits(Orbit, _EventEmitter);
@ -5628,6 +5625,9 @@ return /******/ (function(modules) { // webpackBootstrap
_classCallCheck(this, Orbit);
_get(Object.getPrototypeOf(Orbit.prototype), 'constructor', this).call(this);
// Prevent animation from pausing when tab is inactive
_TweenLite2['default'].lagSmoothing(0);
}
// Proxy control events

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Wyświetl plik

@ -3,12 +3,12 @@ import THREE from 'three';
import OrbitControls from '../vendor/OrbitControls';
import TweenLite from 'TweenLite';
// Prevent animation from pausing when tab is inactive
TweenLite.lagSmoothing(0);
class Orbit extends EventEmitter {
constructor() {
super();
// Prevent animation from pausing when tab is inactive
TweenLite.lagSmoothing(0);
}
// Proxy control events