Adjust anchoring to pop up when required

- Issue MatterHackers/MCCentral#4047
Context menu for library items goes off bottom of window
This commit is contained in:
John Lewin 2018-08-27 13:27:50 -07:00
parent 136923dd8c
commit 57731f675a
2 changed files with 1 additions and 2 deletions

View file

@ -431,7 +431,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
new MatePoint(menu)
{
Mate = new MateOptions(MateEdge.Left, MateEdge.Top),
AltMate = new MateOptions(MateEdge.Left, MateEdge.Top)
AltMate = new MateOptions(MateEdge.Left, MateEdge.Bottom)
},
altBounds: popupBounds);
}