Skip to content

Commit

Permalink
Move song select touch detector to solo implementation
Browse files Browse the repository at this point in the history
It should not run in multiplayer. Even if we wanted to allow touch-only
playlist items at some point, the current behaviour of multiplayer song
selects with respect to touch device mod is currently just broken.
  • Loading branch information
bdach committed Nov 14, 2023
1 parent 69c2c0e commit 70d2de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions osu.Game/Screens/Select/PlaySongSelect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public partial class PlaySongSelect : SongSelect
private void load(OsuColour colours)
{
BeatmapOptions.AddButton(ButtonSystemStrings.Edit.ToSentence(), @"beatmap", FontAwesome.Solid.PencilAlt, colours.Yellow, () => Edit());

AddInternal(new SongSelectTouchInputDetector());
}

protected void PresentScore(ScoreInfo score) =>
Expand Down
1 change: 0 additions & 1 deletion osu.Game/Screens/Select/SongSelect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ private void load(AudioManager audio, OsuColour colours, ManageCollectionsDialog
{
RelativeSizeAxes = Axes.Both,
},
new SongSelectTouchInputDetector()
});

if (ShowFooter)
Expand Down

0 comments on commit 70d2de5

Please sign in to comment.