mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:00:37 +00:00
Fixed small (but irritating) menu bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5363 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
300439e34d
commit
f14fdd88a4
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
Thu Dec 2 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSMenuView.m: ([-trackWithEvent:]) Removed spurious code
|
||||
that caused the bug of submenus being closed when you click on them!
|
||||
Sumbenus should only be closed at the end of a drag operation or if
|
||||
you click on their corresponding item in the parent menu.
|
||||
|
||||
Thu Dec 2 8:23:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSImage.m: Use opacity values from image reps to cache more
|
||||
|
|
|
@ -793,9 +793,6 @@ static float GSMenuBarHeight = 25.0; // A wild guess.
|
|||
|
||||
if (![menuv_menu isFollowTransient])
|
||||
[self setHighlightedItemIndex: -1];
|
||||
|
||||
if (![[menuv_items_link objectAtIndex: index] hasSubmenu])
|
||||
menuv_keepAttachedMenus = NO;
|
||||
}
|
||||
|
||||
// Close menus if needed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue