From c61e200161bc74d3e4d63599b9d60f7e42877098 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 23 Aug 2014 14:39:16 +0000 Subject: [PATCH] InputRoll - Rip out a debug property in favor of a real one --- .../tools/TAStudio/InputRoll.cs | 24 ------------------- .../tools/TAStudio/TasStudioExperiment.cs | 2 +- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs index 27e13e2ab3..09a70e5da7 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs @@ -12,30 +12,6 @@ namespace BizHawk.Client.EmuHawk { public class InputRoll : Control { - // TODO: temporary hack for debugging and testing, sould be removed before being "shipped" - public int ScrollPos - { - get - { - if (HorizontalOrientation) - { - if (NeedsHScrollbar) - { - return HBar.Value; - } - - return 0; - } - - if (NeedsVScrollbar) - { - return VBar.Value; - } - - return 0; - } - } - private readonly GDIRenderer Gdi; private readonly RollColumns _columns = new RollColumns(); private readonly List SelectedItems = new List(); diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TasStudioExperiment.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TasStudioExperiment.cs index 4704c977df..4a6482d0c5 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TasStudioExperiment.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TasStudioExperiment.cs @@ -26,7 +26,7 @@ namespace BizHawk.Client.EmuHawk Watches.UpdateValues(); InputView.Refresh(); - ScrollBarValueTable.Text = InputView.ScrollPos.ToString(); + ScrollBarValueTable.Text = InputView.ScrollPosition.ToString(); } public void FastUpdate()