From: Vincent Vanwaelscappel Date: Tue, 22 Oct 2024 17:16:43 +0000 (+0200) Subject: try #7146 @4 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2eb42aa070bf2b3b780d3b31f617109b2898067b;p=fluidbook-html5.git try #7146 @4 --- diff --git a/js/libs/fluidbook/fluidbook.3dflip.js b/js/libs/fluidbook/fluidbook.3dflip.js index e1bc9310..ad520d2b 100644 --- a/js/libs/fluidbook/fluidbook.3dflip.js +++ b/js/libs/fluidbook/fluidbook.3dflip.js @@ -76,7 +76,7 @@ Fluidbook3DFlip.prototype = { } } - this.init3D(mode); + this.init3D('highPerf'); this.animate(true); $(this.fluidbook).on('fluidbook.ready', function () { @@ -168,17 +168,8 @@ Fluidbook3DFlip.prototype = { this.veryLowPerf = this.lowPerf = true; } } else { - if (this.performancesMode === undefined || this.performancesMode === 'auto') { - this.veryLowPerf = this.fluidbook.support.IE > 0; - this.lowPerf = !Modernizr.webgl || this.veryLowPerf || this.fluidbook.support.edge || this.fluidbook.support.android || this.fluidbook.support.macOs || this.fluidbook.support.iOS; - } else if (this.performancesMode === 'lowPerf') { - this.lowPerf = true; - this.veryLowPerf = false; - } else if (this.performancesMode === 'highPerf') { - this.lowPerf = this.veryLowPerf = false; - } else if (this.performancesMode === 'veryLowPerf') { - this.veryLowPerf = this.lowPerf = true; - } + this.veryLowPerf = this.fluidbook.support.IE > 0; + this.lowPerf = !Modernizr.webgl || this.veryLowPerf || this.fluidbook.support.edge || this.fluidbook.support.android || this.fluidbook.support.macOs || this.fluidbook.support.iOS; } // Performance settings diff --git a/js/libs/fluidbook/fluidbook.splash.js b/js/libs/fluidbook/fluidbook.splash.js index 7309bec8..41618a80 100644 --- a/js/libs/fluidbook/fluidbook.splash.js +++ b/js/libs/fluidbook/fluidbook.splash.js @@ -87,6 +87,7 @@ FluidbookSplash.prototype = { $("#main,#viewOverlay,#view").css('visibility', 'visible'); this.fluidbook.resize.resize(false); this.fluidbook.hideLoader(0, true); + this.fluidbook.networkControl.pause(1500); if (this.fluidbook.shortLoading) { $('#splash').remove();