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:
parent
ffd403140d
commit
c64a8a6daf
@ -916,7 +916,7 @@ void CropWindow::pointerMoved (int bstate, int x, int y)
|
|||||||
bool CropWindow::onArea (CursorArea a, 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;
|
int x1, y1, w, h;
|
||||||
|
|
||||||
switch (a) {
|
switch (a) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user