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
Toggle scene size when drawer expanded; desktop only. #335
Conversation
✅ Deploy Preview for bldrs-share ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
On mobile when the draw is opened the scene turns blank |
Whoops! Didn't push everything. PTAL |
great! |
@@ -459,6 +475,9 @@ function initViewer(pathPrefix, backgroundColorStr = '#abcdef') { | |||
} | |||
} | |||
|
|||
// window.addEventListener('resize', () => {v.context.resize()}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch.
Damn, didn't push after removed the comment. Will do it in next pr |
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.