Flipped zoom tool direction to make it similar to other programs with this feature
This commit is contained in:
parent
e1314de3a9
commit
5070d0dd2d
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ void DrawCamera::update_main(World& w) {
|
|||
}
|
||||
isAccurateZooming = newIsAccurateZooming;
|
||||
if(isAccurateZooming) {
|
||||
WorldScalar zoomFactor(std::pow(1.0 + w.main.toolbar.dragZoomSpeed, w.main.input.mouse.move.y()));
|
||||
WorldScalar zoomFactor(std::pow(1.0 + w.main.toolbar.dragZoomSpeed, -w.main.input.mouse.move.y()));
|
||||
c.scale(zoomFactor);
|
||||
WorldVec mVec = startZoomCameraPos - startZoomMousePos;
|
||||
WorldScalar mX = c.inverseScale / startZoomVal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue