From bc553605acd0a05ae496af8a4dc053dd5d2c2939 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 18 Jul 2015 10:47:20 -0400 Subject: [PATCH] Tastudio - when drawing auto-held column background, take horizontal scrollbar into account --- BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs index 9d38e2d7c1..c3ff17ac00 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs @@ -1085,7 +1085,7 @@ namespace BizHawk.Client.EmuHawk } else { - Gdi.FillRectangle(column.Left.Value + 1, 1, column.Width.Value - 1, ColumnHeight - 1); + Gdi.FillRectangle(column.Left.Value + 1 - HBar.Value, 1, column.Width.Value - 1, ColumnHeight - 1); } }