Skip to content

Commit

Permalink
add methods for the cut plane (#333)
Browse files Browse the repository at this point in the history
connect cut plane functionality to the button

fix property section is not scrolling all of the way

revert operations group back to original

remove cutplane.js
  • Loading branch information
OlegMoshkovich committed Aug 19, 2022
1 parent 670aca8 commit bce2c15
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bldrs",
"version": "1.0.0-r389",
"version": "1.0.0-r384",
"main": "src/index.jsx",
"homepage": "https://github.com/bldrs-ai/Share",
"bugs": {
Expand Down
11 changes: 8 additions & 3 deletions src/Components/ItemProperties.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,16 @@ const useStyles = makeStyles((theme) => ({
psetsList: {
padding: '0px',
margin: 0,
minHeight: '400px',
height: '370px',
overflow: 'scroll',
width: '100%',
},
section: {
listStyle: 'none',
maxWidth: '400px',
'listStyle': 'none',
'width': '94%',
'@media (max-width: 900px)': {
width: '93%',
},
},
noElement: {
maxWidth: '240px',
Expand Down
2 changes: 1 addition & 1 deletion src/Components/MobileDrawer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import MarkupIcon from '../assets/2D_Icons/Markup.svg'
* @return {Object} React component
*/
export default function MobileDrawer({content}) {
const [open, setOpen] = useState(false)
const [open, setOpen] = useState(true)
const toggleDrawer = () => setOpen(!open)
const classes = useStyles({isOpen: open})
const closeDrawer = useStore((state) => state.closeDrawer)
Expand Down

0 comments on commit bce2c15

Please sign in to comment.