Skip to content

Commit

Permalink
chnage the position of the model on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegMoshkovich committed Oct 21, 2023
1 parent c4d3daf commit c0cee10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Components/CutPlaneMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default function CutPlaneMenu() {

debug().log('CutPlaneMenu: location: ', location)
debug().log('CutPlaneMenu: cutPlanes: ', cutPlanes)
console.log('cutplane length', cutPlanes)


const handleClick = (event) => {
Expand Down
2 changes: 1 addition & 1 deletion src/Share.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function navToDefault(navigate, appPrefix) {
const defaultPath = `${appPrefix}/v/p/index.ifc${location.query || ''}`
const cameraHash = window.innerWidth > mediaSizeTabletWith ?
`#${CAMERA_PREFIX}:-133.022,131.828,161.85,-38.078,22.64,-2.314` :
`#${CAMERA_PREFIX}:-142.452,133.203,171.136,-34.99,33.34,-7.645`
`#${CAMERA_PREFIX}:-162.834,168.329,215.95,-51.086,-30.029,25.194`
navWith(navigate, defaultPath, {
search: location.search,
hash: cameraHash,
Expand Down

0 comments on commit c0cee10

Please sign in to comment.