mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-22 17:41:54 +00:00
Fix bug #15935
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22732 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8c5e6703cd
commit
4666959d49
2 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
* Source/NSMenuView.m: ([-rectOfItemAtIndex:]) fixup origin of
|
||||
rectangle to avoid overwriting dark line at left of menu.
|
||||
* Source/NSMenu.m: make transient main menu shitf on screen.
|
||||
fix bug #15935
|
||||
|
||||
2006-03-30 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -1635,7 +1635,7 @@ static NSNotificationCenter *nc;
|
|||
BOOL moveIt = NO;
|
||||
|
||||
// If we are the main menu forget about moving.
|
||||
if ([self isEqual: [NSApp mainMenu]])
|
||||
if ([self isEqual: [NSApp mainMenu]] && !_transient)
|
||||
return;
|
||||
|
||||
// 1 - determine the amount we need to shift in the y direction.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue