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

Update bounds on the fly #12

Open
larsschwarz opened this issue May 12, 2020 · 1 comment · May be fixed by #20
Open

Update bounds on the fly #12

larsschwarz opened this issue May 12, 2020 · 1 comment · May be fixed by #20

Comments

@larsschwarz
Copy link

It would be great to have a way to update the bound values on the fly.

Scenario: when using it with a regular canvas object it seems like the bounds value apply to the unscaled version limiting the pan of an upscaled one. Providing NaN and calculating the bounds using a custom function works of course, but letting easypz handle it would be more convenient.

@michaschwab
Copy link
Owner

Thanks for posting! Interesting. Is this canvas-specific? Do you have an example for me to look at?
Thanks!

sliterok added a commit to sliterok/easypz that referenced this issue Oct 29, 2020
I guess it would break backwards-compatibility if user has already fixed zoom himself somehow :) resolves michaschwab#16, resolves michaschwab#12.
@sliterok sliterok linked a pull request Oct 29, 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.

2 participants