add memory dump panel (#20)

This commit is contained in:
Kurt Hutten
2023-02-03 10:04:16 +11:00
committed by GitHub
parent 96720023db
commit 487d61b862
5 changed files with 291 additions and 5 deletions

View File

@ -21,6 +21,7 @@ import { Logs } from './components/Logs'
import { AxisIndicator } from './components/AxisIndicator'
import { RenderViewerArtifacts } from './components/RenderViewerArtifacts'
import { PanelHeader } from './components/PanelHeader'
import { MemoryPanel } from './components/MemoryPanel'
const OrrthographicCamera = OrthographicCamera as any
@ -149,9 +150,9 @@ function App() {
return (
<div className="h-screen">
<Allotment snap={true}>
<Allotment vertical defaultSizes={[4, 1]}>
<Allotment vertical defaultSizes={[4, 1, 1]}>
<div className="h-full flex flex-col items-start">
<PanelHeader title="Code Editor" />
<PanelHeader title="Editor" />
{/* <button
disabled={!shouldFormat}
onClick={formatCode}
@ -170,6 +171,7 @@ function App() {
/>
</div>
</div>
<MemoryPanel />
<Logs />
</Allotment>
<div className="h-full">