-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add top scores section into beatmap overlay display #1485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
37f537c to
74bcc61
Compare
1e1edf3 to
bbf30d6
Compare
osu.Game/Users/Country.cs
Outdated
| if (value == flagName) return; | ||
| flagName = value; | ||
| sprite.Texture = textures.Get($@"Flags/{flagName}"); | ||
| sprite.Texture = textures?.Get($@"Flags/{flagName}"); |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
bbf30d6 to
8688afe
Compare
| private User user; | ||
| public User User | ||
| { | ||
| set |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
| protected override bool OnClick(InputState state) | ||
| { | ||
| profile?.ShowUser(user); | ||
| return base.OnClick(state); |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
| private const int fade_duration = 100; | ||
| private const float height = 30; | ||
| private const float side_margin = 20; | ||
| private const float flag_margin = 60; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
| private bool isLoading; | ||
| public bool IsLoading | ||
| { | ||
| set |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
|
||
| private void updateScores() | ||
| { | ||
| var scoresAmount = scores.Count(); |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
| { | ||
| Origin = Anchor.BottomLeft, | ||
| TextSize = 30, | ||
| Y = height / 4, |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
| Origin = Anchor.BottomLeft, | ||
| TextSize = 30, | ||
| Y = height / 4, | ||
| X = height / 2, |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
e734275 to
f912744
Compare
Uh oh!
There was an error while loading. Please reload this page.