1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 03:22:55 +08:00

Split onto multiple lines

This commit is contained in:
DrabWeb 2017-05-22 03:13:55 -03:00
parent 3c35badf06
commit 77affc1eb7
2 changed files with 12 additions and 2 deletions

View File

@ -110,7 +110,13 @@ namespace osu.Game.Overlays.Direct
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Direction = FillDirection.Vertical,
Padding = new MarginPadding { Top = vertical_padding, Bottom = vertical_padding, Left = horizontal_padding, Right = horizontal_padding },
Padding = new MarginPadding
{
Top = vertical_padding,
Bottom = vertical_padding,
Left = horizontal_padding,
Right = horizontal_padding,
},
Children = new Drawable[]
{
new FillFlowContainer

View File

@ -44,7 +44,11 @@ namespace osu.Game.Overlays.Direct
public ResultCounts ResultCounts
{
get { return resultCounts; }
set { resultCounts = value; updateResultCounts(); }
set
{
resultCounts = value;
updateResultCounts();
}
}
protected override bool InternalContains(Vector2 screenSpacePos) => base.InternalContains(screenSpacePos) || RankStatusDropdown.Contains(screenSpacePos);