mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix hold-for-right-click showing during gameplay
This commit is contained in:
@ -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()
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user