]> _ Git - fluidbook-html5.git/commitdiff
wait 4016 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 13 Nov 2020 15:49:39 +0000 (16:49 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 13 Nov 2020 15:49:39 +0000 (16:49 +0100)
js/libs/fluidbook/fluidbook.menu.js

index c2ee6810d2232c03f845a4d066bc3a5ae4632ed4..191f235e337a5f2cabe80d290359ef0565699639 100644 (file)
@@ -849,7 +849,7 @@ FluidbookMenu.prototype = {
 
                 var s, x, y;
                 if (readmode) {
-                    w = Math.max(w * 0.5, nw);
+                    w = nw;
                     forceHeight = false;
 
                     if (w > ww * 0.9) {
@@ -857,7 +857,6 @@ FluidbookMenu.prototype = {
                         w = ww;
                         h = hh;
                         s = ww / nw;
-
                     } else {
                         s = w / nw;
                     }