From c64a8a6daf0220eddab5c03aeb10461ef87acbdc Mon Sep 17 00:00:00 2001 From: Hombre Date: Sat, 12 Mar 2016 01:13:43 +0100 Subject: [PATCH] Crop borders detection area has been enlarged from 6px to 9px, and the 800% limit bug has been fixed. Fix issue #3205. --- rtgui/cropwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/cropwindow.cc b/rtgui/cropwindow.cc index b80080f69..4ac0d60fb 100644 --- a/rtgui/cropwindow.cc +++ b/rtgui/cropwindow.cc @@ -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(9 / zoomSteps[cropZoom].zoom, 3); int x1, y1, w, h; switch (a) {