Improved the code still a little bit. Menus seems to be somewhat more
responsive. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23282 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -496,9 +496,7 @@ BMenuBar::_Track(int32 *action, int32 startIndex, bool showMenu)
|
||||
_SelectItem(menuItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (_OverSubmenu(fSelected, ConvertToScreen(where))) {
|
||||
} else if (_OverSubmenu(fSelected, ConvertToScreen(where))) {
|
||||
// call _Track() from the selected sub-menu when the mouse cursor
|
||||
// is over its window
|
||||
BMenu *menu = fSelected->Submenu();
|
||||
|
||||
Reference in New Issue
Block a user