mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 07:23:14 +08:00
Invert hide logic for readability
This commit is contained in:
parent
44ca67c534
commit
82640418ba
@ -43,14 +43,14 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
|
||||
{
|
||||
var values = GetValues(e.NewValue);
|
||||
|
||||
if (values?.Length > 1)
|
||||
if (values == null || values.Length <= 1)
|
||||
{
|
||||
chart.Values = fillZeroValues(values);
|
||||
Show();
|
||||
Hide();
|
||||
return;
|
||||
}
|
||||
|
||||
Hide();
|
||||
chart.Values = fillZeroValues(values);
|
||||
Show();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user