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)