Crop borders detection area has been enlarged from 6px to 9px, and the

800% limit bug has been fixed.  Fix issue #3205.
This commit is contained in:
Hombre 2016-03-12 01:13:43 +01:00
parent ffd403140d
commit c64a8a6daf

View File

@ -916,7 +916,7 @@ void CropWindow::pointerMoved (int bstate, int x, int y)
bool CropWindow::onArea (CursorArea a, int x, int y)
{
int CROPRESIZEBORDER = 6 / zoomSteps[cropZoom].zoom;
int CROPRESIZEBORDER = rtengine::max<int>(9 / zoomSteps[cropZoom].zoom, 3);
int x1, y1, w, h;
switch (a) {