added fixes for #3764 by @heckflosse

This commit is contained in:
Alberto Griggio 2017-03-19 21:16:04 +01:00
parent 7689502764
commit 2d658257f2

View File

@ -1951,6 +1951,8 @@ void CropWindow::zoomOut (bool toCursor, int cursorX, int cursorY)
if (toCursor) {
x = cursorX;
y = cursorY;
} else {
screenCoordToImage(xpos + imgX + imgW / 2, ypos + imgY + imgH / 2, x, y);
}
zoomVersion = exposeVersion;
@ -1980,6 +1982,8 @@ void CropWindow::zoom11 ()
}
zoomVersion = exposeVersion;
} else {
screenCoordToImage(xpos + imgX + imgW / 2, ypos + imgY + imgH / 2, x, y);
}
changeZoom (zoom11index, true, x, y);