From ae45a8452b9f46b7cca6c3e89535c5c638e6c4dc Mon Sep 17 00:00:00 2001 From: adelikat Date: Fri, 29 Aug 2014 14:49:36 +0000 Subject: [PATCH] Input roll - a couple of small tweaks --- BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs index 309dbca1fe..faaa55e1c1 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs @@ -591,7 +591,7 @@ namespace BizHawk.Client.EmuHawk } else { - Gdi.DrawRectangle(0, 0, Width, CellHeight); + Gdi.DrawRectangle(0, 0, Width, CellHeight + 1); Gdi.FillRectangle(1, 1, Width - 2, CellHeight); int start = 0; @@ -646,6 +646,11 @@ namespace BizHawk.Client.EmuHawk Gdi.SetSolidPen(Color.Black); Gdi.DrawRectangle(startPoint.X, startPoint.Y, Width, Height); + if (QueryItemBkColor != null && UseCustomBackground) + { + DoBackGroundCallback(e); + } + if (GridLines) { Gdi.SetSolidPen(SystemColors.ControlLight); @@ -689,11 +694,6 @@ namespace BizHawk.Client.EmuHawk } } - if (QueryItemBkColor != null && UseCustomBackground) - { - DoBackGroundCallback(e); - } - if (SelectedItems.Any()) { DoSelectionBG(e);