]> _ Git - fluidbook-html5.git/commitdiff
wip #2512 @1.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 15 Jan 2019 18:11:42 +0000 (19:11 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 15 Jan 2019 18:11:42 +0000 (19:11 +0100)
js/libs/fluidbook/fluidbook.3dflip.js
js/libs/fluidbook/fluidbook.pagetransitions.js

index 31b74822727d5f472906858ee20475eba2ffed61..47251af908efe2444fa6f371ebd24b127bf93111 100644 (file)
@@ -591,6 +591,8 @@ Fluidbook3DFlip.prototype = {
             delay = this.fluidbook.support.iOS ? 0.15 : 0.06;
         }
 
+        this.resize();
+
         TweenMax.fromTo(this, this.animationTime * timeScale,
             {progressAnimation: 0,},
             {
index 0af61fb7e0a6743b367b8079e7e713ac4c4137c1..be5939637e589c897296675825fe7337b1be2cd8 100644 (file)
@@ -238,9 +238,9 @@ FluidbookPageTransition.prototype = {
     },
 
     centerBookEnabled: function () {
-        if (this.fluidbook.support.transitions3dacc && this.fluidbook.datas.mobileTransitions === 'flip3d') {
-            return false;
-        }
+        // if (this.fluidbook.support.transitions3dacc && this.fluidbook.datas.mobileTransitions === 'flip3d') {
+        //     return false;
+        // }
         return !!this.fluidbook.datas.centerBook && !this.fluidbook.displayOnePage && $('.tabslink').length === 0;
     },