Fix massive editor lag after too many loops

master
William Toohey 10 years ago
parent e20f985ced
commit 42e18c8394
  1. 2
      src/js/HuesCore.js

@ -291,7 +291,7 @@ HuesCore.prototype.animationLoop = function() {
};
HuesCore.prototype.recalcBeatIndex = function() {
this.beatIndex = Math.floor(this.soundManager.clampedTime() / this.beatLength);
this.beatIndex = Math.floor(this.soundManager.currentTime() / this.beatLength);
};
HuesCore.prototype.getBeatIndex = function() {

Loading…
Cancel
Save