Fix hold-for-right-click showing during gameplay

This commit is contained in:
Dean Herbert
2023-05-13 21:12:21 +09:00
parent 3e8711ed96
commit 8c542c6c51
3 changed files with 14 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#nullable disable
using osu.Framework.Bindables;
using osu.Framework.Input;
using osuTK.Input;
@ -10,6 +11,10 @@ namespace osu.Game.Input
{
public partial class OsuUserInputManager : UserInputManager
{
protected override bool AllowRightClickFromLongTouch => !LocalUserPlaying.Value;
public readonly BindableBool LocalUserPlaying = new BindableBool();
internal OsuUserInputManager()
{
}