Remove constant boolean expressions

This commit is contained in:
Drew DeVault 2017-02-01 19:15:22 -05:00
parent 3c7c3d1cb9
commit 5003b3738a

View File

@ -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