fixed fps when restoring backup

This commit is contained in:
jdescottes
2014-07-14 14:39:21 +02:00
parent 19c99d1aa7
commit b556143b66
3 changed files with 21 additions and 9 deletions

View File

@ -81,9 +81,11 @@
};
ns.AnimatedPreviewController.prototype.setFPS = function (fps) {
this.fps = fps;
$("#preview-fps").val(this.fps);
$("#display-fps").html(this.fps + " FPS");
if (fps) {
this.fps = fps;
$("#preview-fps").val(this.fps);
$("#display-fps").html(this.fps + " FPS");
}
};
ns.AnimatedPreviewController.prototype.getFPS = function () {