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

Support rotation in Modifier.zoomable() #26

Open
saket opened this issue Jun 2, 2023 · 0 comments
Open

Support rotation in Modifier.zoomable() #26

saket opened this issue Jun 2, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@saket
Copy link
Owner

saket commented Jun 2, 2023

telephoto's code for coercing content within its zoomable bounds is incompatible with rotation because it uses the top-left coordinate as its pivot. It'd be great if the pivot can be changed to center to unblock rotation of zoomable content.

private fun Offset.coerceWithinBounds(proposedZoom: ContentZoom): Offset {

@saket saket added the help wanted Extra attention is needed label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant