Sidebar.Project.js 835 B

12345678910111213141516171819202122232425262728293031
  1. import { UISpan } from './libs/ui.js';
  2. import { SidebarProjectApp } from './Sidebar.Project.App.js';
  3. /* import { SidebarProjectMaterials } from './Sidebar.Project.Materials.js'; */
  4. import { SidebarProjectRenderer } from './Sidebar.Project.Renderer.js';
  5. import { SidebarProjectImage } from './Sidebar.Project.Image.js';
  6. import { SidebarProjectVideo } from './Sidebar.Project.Video.js';
  7. function SidebarProject( editor ) {
  8. const container = new UISpan();
  9. container.add( new SidebarProjectRenderer( editor ) );
  10. /* container.add( new SidebarProjectMaterials( editor ) ); */
  11. container.add( new SidebarProjectApp( editor ) );
  12. container.add( new SidebarProjectImage( editor ) );
  13. if ( 'SharedArrayBuffer' in window ) {
  14. container.add( new SidebarProjectVideo( editor ) );
  15. }
  16. return container;
  17. }
  18. export { SidebarProject };