Bug 618420 - increase the size of the lower border resizer area on windows. r=felipe, a=final.

This commit is contained in:
Jim Mathies 2011-01-21 15:22:49 -06:00
parent 91e48aa963
commit d9e7ccb885

View File

@ -5835,9 +5835,11 @@ nsWindow::ClientMarginHitTestPoint(PRInt32 mx, PRInt32 my)
else if (my < winRect.bottom && my >= (winRect.bottom - mVertResizeMargin))
bottom = PR_TRUE;
if (mx >= winRect.left && mx < (winRect.left + mHorResizeMargin))
if (mx >= winRect.left && mx < (winRect.left +
(bottom ? (2*mHorResizeMargin) : mHorResizeMargin)))
left = PR_TRUE;
else if (mx < winRect.right && mx >= (winRect.right - mHorResizeMargin))
else if (mx < winRect.right && mx >= (winRect.right -
(bottom ? (2*mHorResizeMargin) : mHorResizeMargin)))
right = PR_TRUE;
if (top) {