From dbc35224e6ff96cacb8fde1f9770ec40356be2a1 Mon Sep 17 00:00:00 2001 From: feos Date: Sun, 13 Nov 2016 16:19:46 +0300 Subject: [PATCH] tastudio analog editing: - autorestore after every drag edited change - increase the mouse move step to 4 from 3 --- BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs index 3770d072f5..b7215de59f 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs @@ -912,7 +912,7 @@ namespace BizHawk.Client.EmuHawk private void TasView_MouseMove(object sender, MouseEventArgs e) { // For float editing - int increment = (_floatEditYPos - e.Y) / 3; + int increment = (_floatEditYPos - e.Y) / 4; if (_floatEditYPos == -1) return; @@ -936,6 +936,9 @@ namespace BizHawk.Client.EmuHawk CurrentTasMovie.SetFloatState(_floatEditRow, _floatEditColumn, value); _floatTypedValue = value.ToString(); + _triggerAutoRestore = true; + JumpToGreenzone(); + DoTriggeredAutoRestoreIfNeeded(); RefreshDialog(); }