kopia lustrzana https://github.com/robhawkes/vizicities
Merge pull request #165 from UDST/feature/move-tweenlite
Move TweenLite configfeature/web-workers-polygons-memory
commit
c36a919f7e
|
@ -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
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue