mirror of
https://github.com/ppy/osu
synced 2024-12-16 11:56:31 +00:00
Remove constant boolean expressions
This commit is contained in:
parent
3c7c3d1cb9
commit
5003b3738a
@ -134,10 +134,10 @@ namespace osu.Game.Screens.Select
|
||||
panel.MoveToX(-50, 500, EasingTypes.OutExpo);
|
||||
|
||||
//on first display we want to begin hidden under our group's header.
|
||||
if (panel.Alpha == 0 && group.State != BeatmapGroupState.Hidden)
|
||||
if (panel.Alpha == 0)
|
||||
panel.MoveToY(headerY);
|
||||
|
||||
movePanel(panel, group.State != BeatmapGroupState.Hidden, ref currentY);
|
||||
movePanel(panel, true, ref currentY);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user