mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:10:48 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6165 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
20ed77e8f9
commit
f3e88c07e4
1 changed files with 9 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue