Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Ir 2392 MUI regression (#10301)
Browse files Browse the repository at this point in the history
* Fix regressions with mui styles

* add todo
  • Loading branch information
DanielBelmes authored May 31, 2024
1 parent 3d2a5e1 commit e87e153
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/client/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import { BrowserRouter, history } from '@etherealengine/client-core/src/common/s
import { LoadingCircle } from '@etherealengine/client-core/src/components/LoadingCircle'

import './pages/styles.scss'
import './pages/mui.styles.scss' /** @todo Remove when MUI is removed */
// tslint:disable:ordered-imports
// @ts-ignore
;(globalThis as any).process = { env: { ...(import.meta as any).env, APP_ENV: (import.meta as any).env.MODE } }
Expand Down
2 changes: 0 additions & 2 deletions packages/client/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ import { loadWebappInjection } from '@etherealengine/projects/loadWebappInjectio
import RouterComp from '../route/public'
import { ThemeContextProvider } from './themeContext'

import './mui.styles.scss'

declare module '@mui/styles/defaultTheme' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface DefaultTheme extends Theme {}
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/components/EditorContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ const EditorContainer = () => {
<div
id="editor-container"
className={styles.editorContainer}
style={scenePath.value ? { background: 'transparent', pointerEvents: 'auto' } : {}}
style={scenePath.value ? { background: 'transparent' } : {}}
>
<DndWrapper id="editor-container">
<DragLayer />
Expand Down

0 comments on commit e87e153

Please sign in to comment.