1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 20:43:21 +08:00

Trim unnecessary parentheses

This commit is contained in:
Bartłomiej Dach 2021-01-22 19:47:38 +01:00
parent a5f7ca485b
commit 61fcb486a8

View File

@ -181,7 +181,7 @@ namespace osu.Game.Graphics.Containers
{
base.UpdateAfterChildren();
float fixedHeaderSize = (FixedHeader?.LayoutSize.Y ?? 0);
float fixedHeaderSize = FixedHeader?.LayoutSize.Y ?? 0;
float expandableHeaderSize = ExpandableHeader?.LayoutSize.Y ?? 0;
float headerH = expandableHeaderSize + fixedHeaderSize;