mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:12:57 +08: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);
|
panel.MoveToX(-50, 500, EasingTypes.OutExpo);
|
||||||
|
|
||||||
//on first display we want to begin hidden under our group's header.
|
//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);
|
panel.MoveToY(headerY);
|
||||||
|
|
||||||
movePanel(panel, group.State != BeatmapGroupState.Hidden, ref currentY);
|
movePanel(panel, true, ref currentY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user