mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 19:40:58 +00:00
* Source/NSMenuView.m: Removed adjustment to Y coords in the
setWindowFrame... method. This adjustment is only supposed to be done when a popup is under "restrictive screen conditions" which is currently unimplemented. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28191 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
384da96300
commit
77635ad0d1
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2009-04-10 01:32-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
|
* Source/NSMenuView.m: Removed adjustment to Y coords in the
|
||||||
|
setWindowFrame... method. This adjustment is only supposed to be
|
||||||
|
done when a popup is under "restrictive screen conditions" which
|
||||||
|
is currently unimplemented.
|
||||||
|
|
||||||
2009-04-10 01:15-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
2009-04-10 01:15-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Source/NSMenuView.m: In the method
|
* Source/NSMenuView.m: In the method
|
||||||
|
|
|
@ -1162,6 +1162,7 @@ static NSMapTable *viewInfo = 0;
|
||||||
if ([[_attachedMenu _owningPopUp] pullsDown])
|
if ([[_attachedMenu _owningPopUp] pullsDown])
|
||||||
{
|
{
|
||||||
// Handle the Y edge...
|
// Handle the Y edge...
|
||||||
|
/*
|
||||||
if ([[[_attachedMenu _owningPopUp] controlView] isFlipped])
|
if ([[[_attachedMenu _owningPopUp] controlView] isFlipped])
|
||||||
{
|
{
|
||||||
if (edge == NSMaxYEdge)
|
if (edge == NSMaxYEdge)
|
||||||
|
@ -1176,6 +1177,7 @@ static NSMapTable *viewInfo = 0;
|
||||||
screenFrame.origin.y += screenRect.size.height;
|
screenFrame.origin.y += screenRect.size.height;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// Handle the X edge...
|
// Handle the X edge...
|
||||||
if (edge == NSMaxXEdge)
|
if (edge == NSMaxXEdge)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue