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

Control doesn't handle browser resize if bounds are set #21

Open
IanMayo opened this issue Jan 13, 2020 · 0 comments · May be fixed by #22
Open

Control doesn't handle browser resize if bounds are set #21

IanMayo opened this issue Jan 13, 2020 · 0 comments · May be fixed by #22

Comments

@IanMayo
Copy link

IanMayo commented Jan 13, 2020

Users can use setHomeBounds to store a default bounds region for the home button.

In this method the zoom level for that bounds is calculated and stored.

But, if the browser is resized, that zoom level is now invalid.

The issue can be overcome if the bounds object is stored in the options, then the zoom level calculated in the go-home operation.

@IanMayo IanMayo linked a pull request Jan 13, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant