From f2fc37facf63c12bcc3a684742355c0f218aac1b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 29 Oct 2018 14:39:55 +0100 Subject: [PATCH] wip #2320 @1 --- js/libs/fluidbook/fluidbook.pagetransitions.js | 8 ++++---- style/fluidbook.less | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.pagetransitions.js b/js/libs/fluidbook/fluidbook.pagetransitions.js index a77e5802..7fcc8548 100644 --- a/js/libs/fluidbook/fluidbook.pagetransitions.js +++ b/js/libs/fluidbook/fluidbook.pagetransitions.js @@ -12,7 +12,7 @@ FluidbookPageTransition.prototype = { }, pageTransition: function (pageNr) { - var $this=this; + var $this = this; if (this.fluidbook.pad.enabled) { this.transitionAxis = this.fluidbook.pad.getTransitionAxis(this.fluidbook.currentPage, page); } else { @@ -47,7 +47,7 @@ FluidbookPageTransition.prototype = { } if (this.fluidbook.support.transitions3dacc) { - this.fluidbook.zoom.resetZoom(function(){ + this.fluidbook.zoom.resetZoom(function () { return $this.pageTransition3DFlip(pageNr); }); return true; @@ -190,12 +190,12 @@ FluidbookPageTransition.prototype = { }, centerBookEnabled: function () { - return !!this.fluidbook.datas.centerBook && !this.fluidbook.displayOnePage && $('.tabslink').length === 0 && !this.fluidbook.support.transitions3dacc; + return !!this.fluidbook.datas.centerBook && !this.fluidbook.displayOnePage && $('.tabslink').length === 0; }, centerBook: function (center, animationDuration) { var animate = animationDuration != undefined && animationDuration > 0; - var move = $("#center-fluidbook,#center-shadow"); + var move = $("#center-fluidbook,#center-shadow,#flip3dcontainer"); var currentLeft = $("#center-fluidbook").data('left'); var left = 0; if (center == undefined) { diff --git a/style/fluidbook.less b/style/fluidbook.less index c1de30fc..cb11d36b 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -618,7 +618,7 @@ body, html { @import "slider"; /* Center */ -#center-fluidbook, #center-shadow { +#center-fluidbook, #center-shadow, #flip3dcontainer { position: absolute; top: 0; left: 0; -- 2.39.5