PhaserEditor2D / PhaserEditor

A friendly IDE to develop HTML5 games based on the Phaser framework.
https://phasereditor2d.com
Eclipse Public License 1.0
327 stars 45 forks source link

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

Closed tfsJoe closed 5 years ago

tfsJoe commented 5 years ago

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 commented 5 years ago

This is on v1.5.4 for Windows.

tfsJoe commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

Ah yes, that works nicely. Thanks!