diff --git a/scripts/core/editor3/components/Editor3Component.tsx b/scripts/core/editor3/components/Editor3Component.tsx index 56baf62016..5d49a05182 100644 --- a/scripts/core/editor3/components/Editor3Component.tsx +++ b/scripts/core/editor3/components/Editor3Component.tsx @@ -280,7 +280,7 @@ export class Editor3Component extends React.Component { } isMacOS() { - if (navigator.userAgent.indexOf('Mac') != -1) { + if (navigator.userAgent.toLowerCase().includes('macintosh') || navigator.userAgent.toLowerCase().includes('mac os')) { return true; }