Revert "Allow dragging mouse up/down to change zoom too"

This reverts commit 2c82e1966966a743a4fd8a6fd0b7f04220fc9c5c.

Given the feedback from the following posts, we've decided to revert
this change at the moment:
* https://steamcommunity.com/app/431730/discussions/2/3059617763567133029/
* https://github.com/aseprite/aseprite/issues/2767
This commit is contained in:
David Capello 2021-08-20 16:32:45 -03:00
parent 60db582932
commit 1a7c381c5e

View File

@ -72,7 +72,7 @@ bool ZoomingState::onMouseMove(Editor* editor, MouseMessage* msg)
if (m_moved || std::sqrt(pt.x*pt.x + pt.y*pt.y) > threshold) {
m_moved = true;
int newScale = m_startZoom.linearScale() + (pt.x+pt.y) / threshold;
int newScale = m_startZoom.linearScale() + pt.x / threshold;
render::Zoom newZoom = render::Zoom::fromLinearScale(newScale);
editor->setZoomAndCenterInMouse(