зеркало из https://github.com/mozilla/gecko-dev.git
Bug 618420 - increase the size of the lower border resizer area on windows. r=felipe, a=final.
This commit is contained in:
Родитель
a8f2d7fa3d
Коммит
6a2e6059b1
|
@ -5835,9 +5835,11 @@ nsWindow::ClientMarginHitTestPoint(PRInt32 mx, PRInt32 my)
|
||||||
else if (my < winRect.bottom && my >= (winRect.bottom - mVertResizeMargin))
|
else if (my < winRect.bottom && my >= (winRect.bottom - mVertResizeMargin))
|
||||||
bottom = PR_TRUE;
|
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;
|
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;
|
right = PR_TRUE;
|
||||||
|
|
||||||
if (top) {
|
if (top) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче