зеркало из https://github.com/mozilla/gecko-dev.git
Bug 493037 - "aNumLines must be non-zero" assertion hit on mouse wheel input. r=emaijala.
This commit is contained in:
Родитель
ba8842a8b0
Коммит
cf9b808287
|
@ -5012,6 +5012,9 @@ PRBool nsWindow::OnMouseWheel(UINT msg, WPARAM wParam, LPARAM lParam, PRBool& ge
|
|||
}
|
||||
}
|
||||
|
||||
if (!scrollEvent.delta)
|
||||
break;
|
||||
|
||||
scrollEvent.isShift = IS_VK_DOWN(NS_VK_SHIFT);
|
||||
scrollEvent.isControl = IS_VK_DOWN(NS_VK_CONTROL);
|
||||
scrollEvent.isMeta = PR_FALSE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче