This commit is contained in:
hyatt%netscape.com 1999-08-02 23:57:58 +00:00
Родитель 45533b29b0
Коммит 8a4f8c434b
1 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -121,11 +121,15 @@ nsMenuBarListener::KeyDown(nsIDOMEvent* aKeyEvent)
if (theChar == NS_VK_ALT) {
// The ALT key just went down. Track this.
mAltKeyDown = PR_TRUE;
return NS_OK;
}
else if (theChar == NS_VK_LEFT ||
theChar == NS_VK_RIGHT ||
theChar == NS_VK_UP ||
theChar == NS_VK_DOWN) {
mAltKeyDown = PR_FALSE;
if (theChar == NS_VK_LEFT ||
theChar == NS_VK_RIGHT ||
theChar == NS_VK_UP ||
theChar == NS_VK_DOWN) {
// The arrow keys were pressed. User is moving around within
// the menus.
if (active)