Skip to content

Commit

Permalink
Don't block touch note input propogation on hit
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Feb 21, 2024
1 parent 2357b8b commit 65e5a19
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions osu.Game.Rulesets.Sentakki/UI/TouchPlayfield.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,14 @@ protected override void Update()

private void handlePointInput(int pointID, bool hasAction, Vector2? pointerPosition)
{
bool continueEventPropogation = true;

foreach (DrawableTouch touch in aliveTouchNotes)
{
if (hasAction && touch.ReceivePositionalInputAt(pointerPosition!.Value))
{
if (!touch.PointInteractionState[pointID])
{
touch.PointInteractionState[pointID] = true;
if (continueEventPropogation)
continueEventPropogation = !touch.OnNewPointInteraction();
touch.OnNewPointInteraction();
}
}
else
Expand Down

0 comments on commit 65e5a19

Please sign in to comment.