git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6165 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 2000-03-03 06:36:38 +00:00
parent 20ed77e8f9
commit f3e88c07e4

View file

@ -625,9 +625,8 @@ static float GSMenuBarHeight = 25.0; // A wild guess.
// Compute position for popups, if needed
if (selectedItemIndex > -1)
{
screenRect.origin.y += ([self convertSize: cellSize
toView: nil].height
* selectedItemIndex);
screenRect.origin.y
+= [self convertSize: cellSize toView: nil].height * selectedItemIndex;
}
// Get the frameRect