added preferences to control the behaviour of the crop tool
This commit is contained in:
@@ -638,7 +638,11 @@ void ImageArea::initialImageArrived (CropWindow* cw)
|
||||
|
||||
if (mainCropWindow) {
|
||||
if(firstOpen || options.prevdemo != PD_Sidecar || (!options.rememberZoomAndPan) ) {
|
||||
mainCropWindow->zoomFitCrop ();
|
||||
if (options.cropAutoFit) {
|
||||
mainCropWindow->zoomFitCrop();
|
||||
} else {
|
||||
mainCropWindow->zoomFit();
|
||||
}
|
||||
firstOpen = false;
|
||||
mainCropWindow->cropHandler.getFullImageSize(fullImageWidth, fullImageHeight);
|
||||
} else {
|
||||
@@ -646,7 +650,11 @@ void ImageArea::initialImageArrived (CropWindow* cw)
|
||||
mainCropWindow->cropHandler.getFullImageSize(w, h);
|
||||
|
||||
if(w != fullImageWidth || h != fullImageHeight) {
|
||||
mainCropWindow->zoomFitCrop ();
|
||||
if (options.cropAutoFit) {
|
||||
mainCropWindow->zoomFitCrop();
|
||||
} else {
|
||||
mainCropWindow->zoomFit();
|
||||
}
|
||||
}
|
||||
|
||||
fullImageWidth = w;
|
||||
|
Reference in New Issue
Block a user