From 10da0ea80fa36d6118f07e24d54e3e2adb05fea4 Mon Sep 17 00:00:00 2001
From: Cameron Taylor <cameron.taylor.ninja@gmail.com>
Date: Thu, 20 Jan 2022 23:36:57 -0500
Subject: [PATCH] lol holy fuk why was that shit so long and gross

---
 source/charting/ChartingState.hx | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/source/charting/ChartingState.hx b/source/charting/ChartingState.hx
index 9337ea48c..c351e813f 100644
--- a/source/charting/ChartingState.hx
+++ b/source/charting/ChartingState.hx
@@ -718,10 +718,7 @@ class ChartingState extends MusicBeatState
 			}
 		}
 
-		if (FlxG.mouse.x > gridBG.x
-			&& FlxG.mouse.x < gridBG.x + gridBG.width
-			&& FlxG.mouse.y > gridBG.y
-			&& FlxG.mouse.y < gridBG.y + (GRID_SIZE * SongLoad.getSong()[curSection].lengthInSteps))
+		if (FlxG.mouse.overlaps(gridBG))
 		{
 			dummyArrow.x = Math.floor(FlxG.mouse.x / GRID_SIZE) * GRID_SIZE;
 			if (FlxG.keys.pressed.SHIFT)