adjusted the default zoom level when loading the bin page
This commit is contained in:
parent
ea13f97c57
commit
e8c31b23ee
2 changed files with 11 additions and 2 deletions
|
|
@ -367,6 +367,8 @@ export default function bin3dVisualizer(props: Props){
|
|||
/>
|
||||
<Box position={"relative"} height={600}>
|
||||
<Bin3dView
|
||||
height={isMobile ? 600 : undefined}
|
||||
width={isMobile ? window.innerWidth : undefined}
|
||||
bin={bin}
|
||||
fillPercent={bin.fillPercent()/100}//expects a decimal between 0 and 1
|
||||
nodeClick={(node, cable) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue