Add point values

This commit is contained in:
Gregory John Casamento 2020-05-06 10:45:07 -04:00
parent 0e7f729f1f
commit 1e1e1043f8

View file

@ -1619,7 +1619,7 @@ static BOOL menuBarVisible = YES;
}
+ (void) popUpContextMenu: (NSMenu *)menu
withEvent: (NSEvent *)event
withEvent: (NSEvent *)event
forView: (NSView *)view
withFont: (NSFont *)font
{
@ -1635,6 +1635,9 @@ static BOOL menuBarVisible = YES;
NSMenuView *mr = [self menuRepresentation];
NSUInteger selectedItem = [self indexOfItem: item];
cellFrame.origin.x += point.x;
cellFrame.origin.y += point.y;
[[GSTheme theme] displayPopUpMenu: mr
withCellFrame: cellFrame
controlViewWindow: w