added fixes for #3764 by @heckflosse
This commit is contained in:
parent
7689502764
commit
2d658257f2
@ -1951,6 +1951,8 @@ void CropWindow::zoomOut (bool toCursor, int cursorX, int cursorY)
|
|||||||
if (toCursor) {
|
if (toCursor) {
|
||||||
x = cursorX;
|
x = cursorX;
|
||||||
y = cursorY;
|
y = cursorY;
|
||||||
|
} else {
|
||||||
|
screenCoordToImage(xpos + imgX + imgW / 2, ypos + imgY + imgH / 2, x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
zoomVersion = exposeVersion;
|
zoomVersion = exposeVersion;
|
||||||
@ -1980,6 +1982,8 @@ void CropWindow::zoom11 ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
zoomVersion = exposeVersion;
|
zoomVersion = exposeVersion;
|
||||||
|
} else {
|
||||||
|
screenCoordToImage(xpos + imgX + imgW / 2, ypos + imgY + imgH / 2, x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
changeZoom (zoom11index, true, x, y);
|
changeZoom (zoom11index, true, x, y);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user