Move player touch handler to SubmittingPlayer

Shouldn't be there in `ReplayPlayer`.
This commit is contained in:
Bartłomiej Dach 2023-11-02 22:26:52 +01:00
parent 8784dd42c0
commit 0dd0a84312
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View File

@ -285,7 +285,6 @@ namespace osu.Game.Screens.Play
fadeOut(true);
},
},
new PlayerTouchInputHandler()
});
if (cancellationToken.IsCancellationRequested)

View File

@ -44,6 +44,12 @@ namespace osu.Game.Screens.Play
{
}
[BackgroundDependencyLoader]
private void load()
{
AddInternal(new PlayerTouchInputHandler());
}
protected override void LoadAsyncComplete()
{
base.LoadAsyncComplete();