]> _ Git - fluidbook-html5.git/commitdiff
wait #2541 @2
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 23 Jan 2019 17:28:44 +0000 (18:28 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 23 Jan 2019 17:28:44 +0000 (18:28 +0100)
js/libs/fluidbook/fluidbook.loader.js
style/fluidbook.less

index 159b8548cc8b1fce60fc1ff9e96f809a0a9eb7e7..2e9d7a347e768c8cabd2dced6b590f9d7e526a81 100644 (file)
@@ -375,7 +375,7 @@ FluidbookLoader.prototype = {
 
         // Draw background
         if (this.backgrounds[page] !== undefined && this.backgrounds[page] !== null) {
-            ctx.drawImage(this.backgrounds[page].get(0), 0, 0, d, d);
+            ctx.drawImage(this.backgrounds[page].get(0), 0, 0, d * 1.002, d);
         } else {
             ctx.fillStyle = "#FFFFFF";
             ctx.fillRect(0, 0, d, d);
index ef4da1194484399a8647008e23751db56ff55301..1f17a7470dbcfb17877781b6c14809a8fdea5a77 100644 (file)
@@ -300,7 +300,7 @@ body, html {
        background-repeat: no-repeat;
 
        img {
-               width: 100%;
+               width: 100.2%;
                height: 100%;
        }
 }
@@ -570,10 +570,6 @@ body, html {
                        .middle {
                                background-image: url("../images/edges/edge-right-middle.png");
                        }
-
-                       .landscape & {
-                               right: unit((-11-@correct-center)*@edge-scale, px);
-                       }
                }
        }
 }