Don't show reminder on mac os

This commit is contained in:
tobspr 2020-07-02 15:23:15 +02:00
parent 60aa5b06b4
commit 2a5afbb11c
2 changed files with 6 additions and 1 deletions

View File

@ -14,6 +14,8 @@ export const IS_DEMO = queryParamOptions.fullVersion
export const SUPPORT_TOUCH = false;
export const IS_MAC = navigator.userAgent.toLowerCase().indexOf("mac os x") >= 0;
const smoothCanvas = true;
export const THIRDPARTY_URLS = {

View File

@ -16,7 +16,7 @@ import { HUDKeybindingOverlay } from "./parts/keybinding_overlay";
import { HUDUnlockNotification } from "./parts/unlock_notification";
import { HUDGameMenu } from "./parts/game_menu";
import { HUDShop } from "./parts/shop";
import { IS_MOBILE, globalConfig, IS_DEMO } from "../../core/config";
import { IS_MOBILE, globalConfig, IS_DEMO, IS_MAC } from "../../core/config";
import { HUDMassSelector } from "./parts/mass_selector";
import { HUDVignetteOverlay } from "./parts/vignette_overlay";
import { HUDStatistics } from "./parts/statistics";
@ -104,6 +104,9 @@ export class GameHUD {
if (IS_DEMO) {
this.parts.watermark = new HUDWatermark(this.root);
}
if (IS_DEMO && !IS_MAC) {
this.parts.standaloneReminder = new HUDStandaloneReminder(this.root);
}