mirror of
https://github.com/osukey/osukey.git
synced 2025-06-19 18:27:58 +09: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);
|
var values = GetValues(e.NewValue);
|
||||||
|
|
||||||
if (values?.Length > 1)
|
if (values == null || values.Length <= 1)
|
||||||
{
|
{
|
||||||
chart.Values = fillZeroValues(values);
|
Hide();
|
||||||
Show();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Hide();
|
chart.Values = fillZeroValues(values);
|
||||||
|
Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user