From 50a32215465715c241ff629980a16c2b7b25b9d4 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Mon, 7 Nov 2022 04:32:17 +1000 Subject: [PATCH 1/2] (broken) Use NS cursor for TAStudio axis double-click-and-drag --- src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs index fbca35de17d..021acb28afb 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs @@ -924,6 +924,7 @@ private void TasView_MouseDown(object sender, MouseEventArgs e) { AxisEditColumn = buttonName; BeginAxisMouseEdit(e.Y); + Cursor = Cursors.SizeNS; } RefreshDialog(); @@ -1131,6 +1132,8 @@ private void ClearLeftMouseStates() MainForm.BlockFrameAdvance = false; + Cursor = Cursors.Default; + RefreshDialog(); // Even if no edits happened, the undo form may need updating because we potentially ended a batch. } From cc7e83667c6bae5aed7c9479c786e828e985e3f6 Mon Sep 17 00:00:00 2001 From: SuuperW Date: Thu, 19 Mar 2026 14:52:25 -0500 Subject: [PATCH 2/2] do not manually specify the default cursor --- .../CustomControls/InputRoll/InputRoll.cs | 2 +- .../tools/TAStudio/TAStudio.ListView.cs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs b/src/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs index bdf5df53d34..811fa4f80e6 100644 --- a/src/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs +++ b/src/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs @@ -1076,7 +1076,7 @@ protected override void OnMouseMove(MouseEventArgs e) Cursor = IsHoveringOnColumnEdge || _columnResizing != null ? Cursors.VSplit - : Cursors.Default; + : null; // use parent's cursor base.OnMouseMove(e); } diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs index 021acb28afb..fe0c0dd69e8 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs @@ -80,6 +80,8 @@ private void BeginAxisMouseEdit(int yPos) _axisRestoreId = CurrentTasMovie.ChangeLog.MostRecentId; CurrentTasMovie.ChangeLog.BeginNewBatch($"Axis mouse edit, frame {GetSelection().First()}"); + + Cursor = Cursors.SizeNS; } public bool AxisEditingMode => AxisEditColumn != null; @@ -924,7 +926,6 @@ private void TasView_MouseDown(object sender, MouseEventArgs e) { AxisEditColumn = buttonName; BeginAxisMouseEdit(e.Y); - Cursor = Cursors.SizeNS; } RefreshDialog(); @@ -1132,7 +1133,7 @@ private void ClearLeftMouseStates() MainForm.BlockFrameAdvance = false; - Cursor = Cursors.Default; + Cursor = null; RefreshDialog(); // Even if no edits happened, the undo form may need updating because we potentially ended a batch. }