]> _ Git - fluidbook-html5.git/commitdiff
wip #2365 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 Nov 2018 12:46:45 +0000 (13:46 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 Nov 2018 12:46:45 +0000 (13:46 +0100)
js/libs/fluidbook/fluidbook.3dflip.js

index 3642ad8c9f17256165f655c5869be68d408cb525..d5d3588e1fc055a4a50514450d2a40dbb1533618 100644 (file)
@@ -210,11 +210,11 @@ Fluidbook3DFlip.prototype = {
 
         var ratio = this.fluidbook.datas.width / this.fluidbook.datas.height;
         if (ratio > 1.2) {
-            this.bendAngle = 5;
+            this.bendAngle = 15;
             this.bendOffset = 0.4;
             this.bendForceMultiplicator = 1.3;
         } else if (ratio >= 1) {
-            this.bendAngle = 10;
+            this.bendAngle = 20;
             this.bendOffset = 0.4;
             this.bendForceMultiplicator = 1.2;
         } else if (ratio > 0.85) {