Fixed!
This commit is contained in:
parent
4e683ecdde
commit
488bb5d266
@ -27,10 +27,14 @@ function ViewerLayout({
|
||||
leftPanels,
|
||||
rightPanels,
|
||||
viewports,
|
||||
children: ViewportGrid,
|
||||
children,
|
||||
}) {
|
||||
const [displaySets, setDisplaySets] = useState({});
|
||||
|
||||
const ViewportGrid = React.Children.only(children);
|
||||
debugger;
|
||||
|
||||
|
||||
/**
|
||||
* Set body classes (tailwindcss) that don't allow vertical
|
||||
* or horizontal overflow (no scrolling). Also guarantee window
|
||||
@ -105,10 +109,10 @@ function ViewerLayout({
|
||||
<Toolbar type="secondary" tools={secondaryToolBarLayout.tools} />
|
||||
</div>
|
||||
<div className="flex flex-1 h-full overflow-hidden bg-black items-center justify-center pb-2 pt-1">
|
||||
<ViewportGrid
|
||||
{/*<ViewportGrid
|
||||
servicesManager={servicesManager}
|
||||
viewportComponents={viewportComponents}
|
||||
/>
|
||||
/>*/}
|
||||
{/*
|
||||
viewportContents={[
|
||||
<Viewport
|
||||
|
||||
@ -89,7 +89,7 @@ export default function ModeRoute({
|
||||
*/}
|
||||
<DragAndDropProvider>
|
||||
<LayoutComponent {...layoutTemplateData.props}>
|
||||
<ViewportGridWithDataSource />
|
||||
<div>test</div>
|
||||
</LayoutComponent>
|
||||
</DragAndDropProvider>
|
||||
</CombinedContextProvider>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user