Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Props2 #82

Merged
merged 13 commits into from
Jan 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15,518 changes: 8,030 additions & 7,488 deletions docs/index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/index.js.map

Large diffs are not rendered by default.

168,115 changes: 168,115 additions & 0 deletions docs/tinyhouse.ifc

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"new-version": "node --experimental-json-modules src/utils/version.mjs > package.json.new && mv package.json.new package.json",
"copy-web-asm": "cp node_modules/web-ifc/web-ifc.wasm public/static/js",
"build": "yarn copy-web-asm && yarn clean && yarn new-version && node config/build.js",
"serve": "yarn copy-web-asm && node config/serve.js",
"serve": "yarn build && node config/serve.js",
"test": "jest"
},
"dependencies": {
Expand Down
168,115 changes: 168,115 additions & 0 deletions public/tinyhouse.ifc

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/Components/ItemPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, {useState} from 'react';
import { makeStyles } from '@mui/styles';
import ItemProperties from './ItemProperties';
import MenuButton from '../Components/MenuButton';
import SideMenu from './SideMenu'
import ItemPropertiesDrawer from './ItemPropertiesDrawer'


const useStyles = makeStyles({
Expand Down Expand Up @@ -70,9 +70,9 @@ const ItemPanel = ({viewer, element, close, topOffset}) => {
const classes = useStyles({topOffset:topOffset});
return (
<>
<SideMenu
<ItemPropertiesDrawer
content = {<ItemProperties viewer = {viewer} element = {element}/>}
title = {'Properties'}
title = {'IFC Information'}
onClose = {close}
open = {open}
/>
Expand Down