nimbling :If zoomed in on an object, it should be impossible to lose the object on zooming out, and effortless to get back to where one was.
With your proposed zoom, the only time you end up where you started is if you zoom in, then zoom out with the mouse in the exact same place. If your mouse is anywhere else, after your zoom out you will be panned to a different position. The crucial part is that this kind of zooming makes it difficult for you to control how the zooming pans. You end up needing to use both pan and zoom separately, while with Spine controlling the panning is so effortless you don't even realize you are also panning.
If you think about your mouse as your focus, and that you want your work in the center of your screen, then I think you'd end up appreciating Spine's zoom. The only point I can agree on is that your proposed zoom behavior is common in other software. That is not usually compelling, but we'll consider adding a setting. You can track the task here:
https://waffle.io/EsotericSoftware/spine/cards/5c14352638ef8c001b944ebb
BTW, we have a secret setting you might find useful and is already in Spine. Open your prefs.json
:
Windows: <user home folder>\Spine\prefs.json
Mac: <user home folder>/Library/Application Support/Spine/prefs.json
Linux: <user home folder>/.spine/prefs.json
Add zoomToMouse:false,
just after the opening brace ({
). Eg, from this:
{version:<snipped>
To this:
{zoomToMouse:false,version:<snipped>
This will cause the mouse wheel to zoom in/out always using the center of the screen, not the mouse cursor position.
BTW, long ago you asked for the middle mouse button to pan:
Graph editor like Maya.
In 3.7.75-beta and later you can have that by adding mouseMiddlePans:true,
to the prefs.json
, as described above. We'll put it on the settings dialog in 3.8. Issue:
https://waffle.io/EsotericSoftware/spine/cards/5b37b87ba0cc20001ba20613
Also, another option for zoom is Zoom Drag
. The default hotkey for that is U
. Hold U
and click+drag (any mouse button) to zoom. You can also edit your hotkeys.txt for Zoom Move
. Eg, if you mapped that to U
then you'd hold U
and move your mouse up/down to zoom (no need to click). That is especially useful with a pen tablet.