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

Zoom in/out #99

Open
mi-spindel opened this issue Dec 19, 2022 · 2 comments
Open

Zoom in/out #99

mi-spindel opened this issue Dec 19, 2022 · 2 comments

Comments

@mi-spindel
Copy link

I would like to have a large canvas, but it may not fit on the screen. Can I zoom in on a specific part of the canvas?
Or I would like to be able to scroll horizontally.

@andfanilo
Copy link
Owner

Hello,
It should be possible by adding the following event http://fabricjs.com/fabric-intro-part-5 into the main Typescript file .
If you have time to test it, I would be grateful :)
Have a nice day,
Fanilo

@swatts-ci
Copy link

Hi @andfanilo - I've sketched out a prototype of this here - #149

Some mild issues testing on mac - you can see in the video below I am zooming into the webpage as well as the canvas. Happy to work on this further if you've still got time for this!

Screen.Recording.2024-07-18.at.15.52.07-1.mov

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

3 participants