mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Shorten show/hide code
This commit is contained in:
@ -256,11 +256,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
selectionDetailsText.Text = count > 0 ? count.ToString() : string.Empty;
|
||||
|
||||
if (count > 0)
|
||||
Show();
|
||||
else
|
||||
Hide();
|
||||
|
||||
this.FadeTo(count > 0 ? 1 : 0);
|
||||
OnSelectionChanged();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user