Merge pull request #25 from pattern-x/feature/add-bg-img

Uploaded default backgournd image
This commit is contained in:
pattern-x
2022-12-06 21:29:07 +08:00
committed by GitHub
6 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,6 @@
}
const viewer = new BimViewer({
containerId: "myCanvas",
enableStats: true
}, project.camera);
const toolbar = viewer.toolbar;
toolbar.updateMenu(ToolbarMenuId.BimTree, { visible: false });

View File

@ -33,7 +33,6 @@
{
containerId: "myCanvas",
enableAxisGizmo: true,
enableStats: true,
toolbarMenuConfig: {
[ToolbarMenuId.Measure]: { visible: false },
[ToolbarMenuId.Fullscreen]: { visible: false },

View File

@ -78,7 +78,6 @@
const config = {
containerId: "myCanvas",
enableAxisGizmo: true,
enableStats: true,
enableToolbar: true,
enableBottomBar: true,
enableSpinner: true,

View File

@ -82,7 +82,6 @@
{
containerId: "myCanvas",
enableAxisGizmo: true,
enableStats: true,
toolbarMenuConfig: {
[ToolbarMenuId.BimTree]: { visible: false },
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

View File

@ -35,11 +35,12 @@
border: 0;
background: transparent;
cursor: pointer;
color: #ccc;
}
.examples .index-button.open {
left: 485px;
color: white;
/* color: white; */
}
.examples .content-container {
@ -54,6 +55,8 @@
pointer-events: all;
transition: all 300ms ease-in-out;
background: lightblue;
background: url(./../../../public/demo/images/dwg_background.png) no-repeat center center fixed;
background-size: cover;
}
/* .examples .content-container.open {
@ -97,11 +100,12 @@
transition: all 300ms ease-in-out;
max-width: calc(100% - 450px);
pointer-events: none;
color: #ccc;
}
.examples .page-title.open {
left: 545px;
color: white;
/* color: white; */
}
.examples .menu #index {