Solving issue #3249: "Fit crop to screen doesn't work as expected

anymore"
This commit is contained in:
Hombre
2016-04-11 01:37:23 +02:00
parent 324b54bb46
commit 3ac59ad467

View File

@@ -1873,6 +1873,7 @@ void CropWindow::zoomFitCrop ()
int centerX, centerY;
centerX = cropHandler.cropParams.x + cropHandler.cropParams.w / 2;
centerY = cropHandler.cropParams.y + cropHandler.cropParams.h / 2;
setCropAnchorPosition(centerX, centerY);
changeZoom (cz, true, centerX, centerY);
fitZoom = false;
}