Skip to content

Commit

Permalink
Toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Aug 9, 2024
1 parent 95a5972 commit 03f049d
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions packages/app-core/src/ui/App/ViewContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,17 @@ const ViewContainer = observer(function ({
)

return (
<>
<Paper ref={ref} elevation={12} className={viewContainerClassName}>
<ViewHeader
view={view}
onClose={() => session.removeView(view)}
onMinimize={() => view.setMinimized(!view.minimized)}
className={backgroundColorClassName}
/>
<Paper elevation={0}>
<ViewWrapper view={view} session={session} />
</Paper>
<Paper ref={ref} elevation={12} className={viewContainerClassName}>
<ViewHeader
view={view}
onClose={() => session.removeView(view)}
onMinimize={() => view.setMinimized(!view.minimized)}
className={backgroundColorClassName}
/>
<Paper elevation={0}>
<ViewWrapper view={view} session={session} />
</Paper>
</>
</Paper>
)
})

Expand Down

0 comments on commit 03f049d

Please sign in to comment.