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

centerOnScale does not work #32

Open
guyluz11 opened this issue Jun 13, 2023 · 1 comment
Open

centerOnScale does not work #32

guyluz11 opened this issue Jun 13, 2023 · 1 comment

Comments

@guyluz11
Copy link

I am using centerOnScale like this

Zoom(
      initScale: (screenHeight / screenWidth),
      centerOnScale: true,
)    

But the position is not centered.
Does it take into account centering after initScale has been applied?

@wanzha
Copy link

wanzha commented Dec 7, 2023

Have you solved this problem? I also encountered the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants