mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Don't show reminder on mac os
This commit is contained in:
parent
60aa5b06b4
commit
2a5afbb11c
@ -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 = {
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user