You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
835 B
JavaScript
32 lines
835 B
JavaScript
import { UISpan } from './libs/ui.js';
|
|
|
|
import { SidebarProjectApp } from './Sidebar.Project.App.js';
|
|
/* import { SidebarProjectMaterials } from './Sidebar.Project.Materials.js'; */
|
|
import { SidebarProjectRenderer } from './Sidebar.Project.Renderer.js';
|
|
import { SidebarProjectImage } from './Sidebar.Project.Image.js';
|
|
import { SidebarProjectVideo } from './Sidebar.Project.Video.js';
|
|
|
|
function SidebarProject( editor ) {
|
|
|
|
const container = new UISpan();
|
|
|
|
container.add( new SidebarProjectRenderer( editor ) );
|
|
|
|
/* container.add( new SidebarProjectMaterials( editor ) ); */
|
|
|
|
container.add( new SidebarProjectApp( editor ) );
|
|
|
|
container.add( new SidebarProjectImage( editor ) );
|
|
|
|
if ( 'SharedArrayBuffer' in window ) {
|
|
|
|
container.add( new SidebarProjectVideo( editor ) );
|
|
|
|
}
|
|
|
|
return container;
|
|
|
|
}
|
|
|
|
export { SidebarProject };
|