if (performanceMode === undefined || performanceMode === 'auto' || performanceMode === 'performancesTest') {
this.veryLowPerf = this.fluidbook.support.IE > 0 || this.fluidbook.support.iOS;
- this.lowPerf = !Modernizr.webgl || this.veryLowPerf || this.fluidbook.support.edge || this.fluidbook.support.android || this.fluidbook.support.macOs;
+ this.lowPerf = !Modernizr.webgl || this.veryLowPerf || this.fluidbook.support.edge || this.fluidbook.support.android || this.fluidbook.support.macOs;
} else if (performanceMode === 'lowPerf') {
this.lowPerf = true;
this.veryLowPerf = false;
});
}
- var d = ((720 + this._pageRotation) % 360);
- this.plane.rotation.y = d * this.deg2rad;
- this.renderer.render(this.scene, this.camera);
- this.modifier && this.modifier.apply();
+ var render = true;
if (this._progressAnimation < 1) {
+
if (this.turnRunning) {
if (this.performancesTestRunning) {
this.performancesFrames++;
}
+ render = true;
this.jcontainer.show();
} else {
+ render = false;
this.jcontainer.hide();
}
} else {
+ render = false;
this.jcontainer.hide();
}
+ if (render) {
+ var d = ((720 + this._pageRotation) % 360);
+ this.plane.rotation.y = d * this.deg2rad;
+ this.renderer.render(this.scene, this.camera);
+ this.modifier && this.modifier.apply();
+ }
+
if (this._callbackAfterNextRender !== null) {
try {
var c = this._callbackAfterNextRender;