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
Clean up: Move viewport specific logic out from viewer. #5887
Conversation
let viewportType = viewer.getParam('viewportType') || ViewportType.NATURAL; | ||
if (platformFor(win).isIos() | ||
&& ((viewportType == ViewportType.NATURAL && viewer.isIframed()) | ||
// Enable iOS Embedded mode so that it's easy to test against a more |
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.
Let's' move this comment to the assignment.
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.
the comment is specific to dev mode, so better be here
…: Move viewport specific logic out from viewer.)
…ific logic out from viewer.) (#5972)
@lannka To confirm, did you catch up this PR to @cramforce's changes? |
Ugh, I didn't check for it and this PR doesn't have the extra check. Means our canary has the bad state again. @aghassemi |
Ok. Let's start with fixing it. @lannka Could you please send the fix? Or should we rollback? |
@dvoytenko false alarm. We checked master and Malte's code is there as part of #5972 |
…: Move viewport specific logic out from viewer.) (ampproject#5972)
…: Move viewport specific logic out from viewer.) (ampproject#5972)
No description provided.