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

Toggle scene size when drawer expanded; desktop only. #335

Merged
merged 2 commits into from Aug 17, 2022

Conversation

pablo-mayrgundter
Copy link
Member

I don't think we had an issue filed for this, but it came up in discussion.. now that the drawer is bigger the content is obscured. This gives the same centered view when drawer is open or closed.

Desktop only.

@netlify
Copy link

netlify bot commented Aug 17, 2022

Deploy Preview for bldrs-share ready!

Name Link
🔨 Latest commit 2b1dc98
🔍 Latest deploy log https://app.netlify.com/sites/bldrs-share/deploys/62fd2499db068f00088a9a51
😎 Deploy Preview https://deploy-preview-335--bldrs-share.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@OlegMoshkovich
Copy link
Member

On mobile when the draw is opened the scene turns blank
![image](https://user-images.githubusercontent.com/3433606/185065831-d1fea5e7-fd1f-4dce-9749-2abed29505b1.png

@pablo-mayrgundter
Copy link
Member Author

Whoops! Didn't push everything. PTAL

@OlegMoshkovich
Copy link
Member

great!

@@ -459,6 +475,9 @@ function initViewer(pathPrefix, backgroundColorStr = '#abcdef') {
}
}

// window.addEventListener('resize', () => {v.context.resize()})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

@pablo-mayrgundter pablo-mayrgundter merged commit ff23054 into bldrs-ai:main Aug 17, 2022
@pablo-mayrgundter
Copy link
Member Author

Damn, didn't push after removed the comment. Will do it in next pr

@pablo-mayrgundter pablo-mayrgundter deleted the drawer-resize branch August 18, 2022 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: No status
Status: Completed
Development

Successfully merging this pull request may close these issues.

None yet

2 participants