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

Would be great to have an alternative to scrollwheel for zooming the canvas #134

Closed
tfsJoe opened this issue Jul 8, 2019 · 4 comments
Closed

Comments

@tfsJoe
Copy link

tfsJoe commented Jul 8, 2019

Would be great to have zoom in and out buttons, and/or another keypress combination to supplement zooming with the scroll wheel. Currently, scrollwheel controls do not work well with some trackpads. For example I can zoom in very easily but struggle to get it to accept a zoom out with my current trackpad.

@tfsJoe
Copy link
Author

tfsJoe commented Jul 8, 2019

This is on v1.5.4 for Windows.

@tfsJoe
Copy link
Author

tfsJoe commented Jul 8, 2019

Here's a video of an attempt to zoom out using the trackpad.

Please note I recognize that there are several layers to this including device-specific issues, so all I'm suggesting is an alternative rather than a fix.

@PhaserEditor2D
Copy link
Owner

Hi,

Thanks for the video! It is not documented but you can use the I and O keys to zoom in/out. I just added it to the docs:

https://phasereditor2d.com/docs/canvas.html#common-editing-operations

Please, tell me if it works better with the keys.

@tfsJoe
Copy link
Author

tfsJoe commented Jul 8, 2019

Ah yes, that works nicely. Thanks!

@tfsJoe tfsJoe closed this as completed Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants