Skip to content

Commit

Permalink
Update MenuBuilder.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jul 18, 2024
1 parent 7049bb0 commit 593064f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/DiffEngineTray/MenuBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ static class MenuBuilder
{
public static ContextMenuStrip Build(Action exit, Action launchOptions, Tracker tracker)
{
var menu = new ContextMenuStrip();
menu.DefaultDropDownDirection = ToolStripDropDownDirection.AboveLeft;
var menu = new ContextMenuStrip
{
DefaultDropDownDirection = ToolStripDropDownDirection.AboveLeft
};
var items = menu.Items;
menu.Closed += delegate
{
Expand Down

0 comments on commit 593064f

Please sign in to comment.