mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Adding spacebar to list of keys that will scroll page.
This commit is contained in:
parent
23e04144c4
commit
9919d95d5a
@ -728,7 +728,8 @@ NS_IMETHODIMP nsScrollingView :: HandleEvent(nsGUIEvent *aEvent, PRUint32 aEvent
|
||||
{
|
||||
case NS_VK_PAGE_DOWN:
|
||||
case NS_VK_PAGE_UP:
|
||||
ScrollByPages((keyEvent->keyCode == NS_VK_PAGE_DOWN) ? 1 : -1);
|
||||
case NS_VK_SPACE:
|
||||
ScrollByPages((keyEvent->keyCode != NS_VK_PAGE_UP) ? 1 : -1);
|
||||
break;
|
||||
|
||||
case NS_VK_DOWN:
|
||||
|
Loading…
Reference in New Issue
Block a user