mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:40:53 +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
|
@ -1162,6 +1162,7 @@ static NSMapTable *viewInfo = 0;
|
|||
if ([[_attachedMenu _owningPopUp] pullsDown])
|
||||
{
|
||||
// Handle the Y edge...
|
||||
/*
|
||||
if ([[[_attachedMenu _owningPopUp] controlView] isFlipped])
|
||||
{
|
||||
if (edge == NSMaxYEdge)
|
||||
|
@ -1176,6 +1177,7 @@ static NSMapTable *viewInfo = 0;
|
|||
screenFrame.origin.y += screenRect.size.height;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
// Handle the X edge...
|
||||
if (edge == NSMaxXEdge)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue