mirror of
https://github.com/ppy/osu
synced 2025-02-15 01:27:03 +00:00
commit
267473c052
@ -133,16 +133,16 @@ namespace osu.Game.Online.API
|
||||
var userReq = new GetUserRequest();
|
||||
userReq.Success += (u) => {
|
||||
LocalUser.Value = u;
|
||||
//we're connected!
|
||||
State = APIState.Online;
|
||||
failureCount = 0;
|
||||
};
|
||||
|
||||
if (!handleRequest(userReq))
|
||||
{
|
||||
State = APIState.Failing;
|
||||
continue;
|
||||
}
|
||||
|
||||
//we're connected!
|
||||
State = APIState.Online;
|
||||
failureCount = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -159,8 +159,12 @@ namespace osu.Game.Overlays
|
||||
}
|
||||
}
|
||||
|
||||
protected override bool OnHover(InputState state) => true;
|
||||
|
||||
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) => true;
|
||||
|
||||
protected override bool OnClick(InputState state) => true;
|
||||
|
||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||
{
|
||||
switch (args.Key)
|
||||
|
Loading…
Reference in New Issue
Block a user