mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 05:20:59 +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
|
// 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue