Solving issue #3163: "Detail window centres to whole image instead of
centre of preview"
This commit is contained in:
@@ -474,7 +474,13 @@ void ImageArea::addCropWindow ()
|
|||||||
cw->setEditSubscriber (getCurrSubscriber());
|
cw->setEditSubscriber (getCurrSubscriber());
|
||||||
cw->enable(); // start processing!
|
cw->enable(); // start processing!
|
||||||
|
|
||||||
cw->centerCrop();
|
{
|
||||||
|
int anchorX = 0;
|
||||||
|
int anchorY = 0;
|
||||||
|
mainCropWindow->getCropAnchorPosition(anchorX, anchorY);
|
||||||
|
cw->setCropAnchorPosition(anchorX, anchorY);
|
||||||
|
}
|
||||||
|
|
||||||
mainCropWindow->setObservedCropWin (cropWins.front());
|
mainCropWindow->setObservedCropWin (cropWins.front());
|
||||||
|
|
||||||
if(cropWins.size() == 1) { // after first detail window we already have high quality
|
if(cropWins.size() == 1) { // after first detail window we already have high quality
|
||||||
|
Reference in New Issue
Block a user