if (performanceMode === undefined || performanceMode === 'auto' || performanceMode === 'performancesTest') {
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;
+ this.lowPerf = !Modernizr.webgl || this.veryLowPerf || this.fluidbook.support.edge || this.fluidbook.support.android || this.fluidbook.support.macOs;
} else if (performanceMode === 'lowPerf') {
this.lowPerf = true;
this.veryLowPerf = false;
}
catch (e) {
}
+ this.macOs = navigator.platform.toUpperCase().indexOf('MAC') >= 0;
this.android = this.fitScreenAtZero = this.userAgent.search(/android/i) > -1 || this.userAgent.search(/galaxy/i) > -1;
this.android3 = this.android && this.userAgent.search(/android 3/i) > -1;
this.iOS = this.userAgent.search(/ipad/i) > -1 || this.userAgent.search(/iphone/i) > -1 || this.userAgent.search(/ipod/i) > -1;