From 44b5d12e39700bb99050da35c197c42705cdc2f9 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 24 May 2020 16:12:22 -0500 Subject: [PATCH] Recent menus - add freeze/unfreeze icons to the freeze menu, hopefully will help it be more noticeable when the mode has changed from a misclick --- src/BizHawk.Client.EmuHawk/Extensions/ToolExtensions.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.Client.EmuHawk/Extensions/ToolExtensions.cs b/src/BizHawk.Client.EmuHawk/Extensions/ToolExtensions.cs index 4a306a43f9..4aed117569 100644 --- a/src/BizHawk.Client.EmuHawk/Extensions/ToolExtensions.cs +++ b/src/BizHawk.Client.EmuHawk/Extensions/ToolExtensions.cs @@ -177,7 +177,11 @@ namespace BizHawk.Client.EmuHawk.ToolExtensions clearItem.Click += (o, ev) => recent.Clear(); items.Add(clearItem); - var freezeItem = new ToolStripMenuItem { Text = recent.Frozen ? "&Unfreeze" : "&Freeze" }; + var freezeItem = new ToolStripMenuItem + { + Text = recent.Frozen ? "&Unfreeze" : "&Freeze", + Image = recent.Frozen ? Properties.Resources.Unfreeze : Properties.Resources.Freeze + }; freezeItem.Click += (o, ev) => recent.Frozen ^= true; items.Add(freezeItem);