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 // Compute position for popups, if needed
if (selectedItemIndex > -1) if (selectedItemIndex > -1)
{ {
screenRect.origin.y += ([self convertSize: cellSize screenRect.origin.y
toView: nil].height += [self convertSize: cellSize toView: nil].height * selectedItemIndex;
* selectedItemIndex);
} }
// Get the frameRect // Get the frameRect