From a571327b35231e9dd4b7849a9608f1c1da81f1ad Mon Sep 17 00:00:00 2001 From: Derrick Timmermans Date: Thu, 28 Jan 2021 17:08:38 +0100 Subject: [PATCH] Actually disable handedness --- .../UI/Components/TouchVisualization.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/osu.Game.Rulesets.Sentakki/UI/Components/TouchVisualization.cs b/osu.Game.Rulesets.Sentakki/UI/Components/TouchVisualization.cs index 7ba3c6c93..9aa6462a1 100644 --- a/osu.Game.Rulesets.Sentakki/UI/Components/TouchVisualization.cs +++ b/osu.Game.Rulesets.Sentakki/UI/Components/TouchVisualization.cs @@ -22,8 +22,8 @@ public class TouchVisualization : CompositeDrawable private DrawablePool pointerPool; - private int leftCount; - private int rightCount; + //private int leftCount; + //private int rightCount; public Dictionary InUsePointers = new Dictionary(); @@ -55,7 +55,7 @@ protected override void Update() { bool useLeftHand = false; - if (newPos.X < 0) + /* if (newPos.X < 0) { if (leftCount <= rightCount) useLeftHand = true; @@ -69,7 +69,7 @@ protected override void Update() if (useLeftHand) ++leftCount; else ++rightCount; Console.WriteLine(leftCount + ", " + rightCount); - + */ AddInternal(pointer = pointerPool.Get()); pointer.Scale = new Vector2(useLeftHand ? -1 : 1, 1); InUsePointers[point] = pointer;