diff --git a/src/DiffEngineTray.Tests/MenuBuilderTest.Full.verified.png b/src/DiffEngineTray.Tests/MenuBuilderTest.Full.verified.png index 51c3af09..f58a709b 100644 Binary files a/src/DiffEngineTray.Tests/MenuBuilderTest.Full.verified.png and b/src/DiffEngineTray.Tests/MenuBuilderTest.Full.verified.png differ diff --git a/src/DiffEngineTray.Tests/MenuBuilderTest.FullGrouped.verified.png b/src/DiffEngineTray.Tests/MenuBuilderTest.FullGrouped.verified.png index 9d622ab2..a4e54b19 100644 Binary files a/src/DiffEngineTray.Tests/MenuBuilderTest.FullGrouped.verified.png and b/src/DiffEngineTray.Tests/MenuBuilderTest.FullGrouped.verified.png differ diff --git a/src/DiffEngineTray.Tests/MenuBuilderTest.Grouped.verified.png b/src/DiffEngineTray.Tests/MenuBuilderTest.Grouped.verified.png index 0bdf4c63..b266752a 100644 Binary files a/src/DiffEngineTray.Tests/MenuBuilderTest.Grouped.verified.png and b/src/DiffEngineTray.Tests/MenuBuilderTest.Grouped.verified.png differ diff --git a/src/DiffEngineTray.Tests/MenuBuilderTest.Many.verified.png b/src/DiffEngineTray.Tests/MenuBuilderTest.Many.verified.png index 694d6533..c4d1cac3 100644 Binary files a/src/DiffEngineTray.Tests/MenuBuilderTest.Many.verified.png and b/src/DiffEngineTray.Tests/MenuBuilderTest.Many.verified.png differ diff --git a/src/DiffEngineTray.Tests/MenuBuilderTest.OnlyDelete.verified.png b/src/DiffEngineTray.Tests/MenuBuilderTest.OnlyDelete.verified.png index bc11460b..ed5cc5ab 100644 Binary files a/src/DiffEngineTray.Tests/MenuBuilderTest.OnlyDelete.verified.png and b/src/DiffEngineTray.Tests/MenuBuilderTest.OnlyDelete.verified.png differ diff --git a/src/DiffEngineTray.Tests/MenuBuilderTest.OnlyMove.verified.png b/src/DiffEngineTray.Tests/MenuBuilderTest.OnlyMove.verified.png index fe5cfa31..9559db54 100644 Binary files a/src/DiffEngineTray.Tests/MenuBuilderTest.OnlyMove.verified.png and b/src/DiffEngineTray.Tests/MenuBuilderTest.OnlyMove.verified.png differ diff --git a/src/DiffEngineTray/MenuBuilder.cs b/src/DiffEngineTray/MenuBuilder.cs index 06894131..07e99028 100644 --- a/src/DiffEngineTray/MenuBuilder.cs +++ b/src/DiffEngineTray/MenuBuilder.cs @@ -147,7 +147,7 @@ static IEnumerable BuildMovesAndDeletes(string? name, Tracker tra static ToolStripItem BuildDelete(TrackedDelete delete, Action accept) { - var menu = new ToolStripMenuItem($"{delete.Name}"); + var menu = new ToolStripDropDownButton($"{delete.Name}"); menu.DropDownDirection = ToolStripDropDownDirection.Left; menu.DropDownItems.Add(new MenuButton("Accept delete", accept)); menu.DropDownItems.Add(BuildShowInExplorer(delete.File)); @@ -156,7 +156,7 @@ static ToolStripItem BuildDelete(TrackedDelete delete, Action accept) static ToolStripItem BuildMove(TrackedMove move, Action accept) { - var menu = new ToolStripMenuItem($"{move.Name} ({move.Extension})"); + var menu = new ToolStripDropDownButton($"{move.Name} ({move.Extension})"); menu.DropDownDirection = ToolStripDropDownDirection.Left; menu.DropDownItems.Add(new MenuButton("Accept move", accept)); if (move.Exe != null) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index a277aa11..233b09f1 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,7 +2,7 @@ CS1591;CS0649 - 6.9.0 + 6.9.1 1.0.0 Testing, Snapshot, Diff, Compare Launches diff tools based on file extensions. Designed to be consumed by snapshot testing libraries.