]> _ Git - fluidbook-html5.git/commitdiff
try #3083
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 17 Dec 2019 19:10:15 +0000 (20:10 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 17 Dec 2019 19:10:15 +0000 (20:10 +0100)
js/libs/fluidbook/fluidbook.3dflip.js

index 17d652c66d7c512b429c87993f7146b22639a7de..d3585d82c63bc44798c7c8198f7dbbae48fcbfb6 100644 (file)
@@ -127,7 +127,7 @@ Fluidbook3DFlip.prototype = {
             return 'veryLowPerf';
         }
 
-        if (isNaN(this.benchmark) || this.benchmark === 0) {
+        if (isNaN(this.benchmark) || this.benchmark <= 0) {
             return 'lowPerf';
         }
         var b = 60 * (this.benchmark / 3580);