]> _ Git - fluidbook-html5.git/commitdiff
wip #2309 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Oct 2018 10:54:44 +0000 (11:54 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Oct 2018 10:54:44 +0000 (11:54 +0100)
js/libs/fluidbook/fluidbook.3dflip.js
js/libs/fluidbook/fluidbook.support.js

index b648d84e27cc74f8f1873bfb70d2b377413b9540..99b70216a21db3341a7d392e932934255a0ceafb 100644 (file)
@@ -73,8 +73,8 @@ Fluidbook3DFlip.prototype = {
         }
 
         if (performanceMode === undefined || performanceMode === 'auto' || performanceMode === 'performancesTest') {
-            this.veryLowPerf = this.fluidbook.support.IE > 0;
-            this.lowPerf = !Modernizr.webgl || this.veryLowPerf || this.fluidbook.support.edge || this.fluidbook.support.android || this.fluidbook.support.iOS;
+            this.veryLowPerf = this.fluidbook.support.IE > 0 || this.fluidbook.support.iOS;
+            this.lowPerf = !Modernizr.webgl || this.veryLowPerf || this.fluidbook.support.edge || this.fluidbook.support.android;
         } else if (performanceMode === 'lowPerf') {
             this.lowPerf = true;
             this.veryLowPerf = false;
index 31ce3049f89f946c3bef94fa157b6ca0f90eab7b..2491e094f618a89a692ab5af83d475924ef9cd60 100644 (file)
@@ -31,7 +31,7 @@ function FluidbookSupport(fluidbook) {
 
     this.transitions2d = Modernizr.csstransforms && Modernizr.csstransitions;
     this.transitions3d = this.transitions2d && Modernizr.csstransforms3d && Modernizr.preserve3d;
-    this.transitions3dacc = this.transitions2d;
+    this.transitions3dacc = this.transitions2d && !this.iOS;
 
     this.ie9 = $("html").hasClass('ie9');