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, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y, AutoSizeAxes = Axes.Y,
Direction = FillDirection.Vertical, 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[] Children = new Drawable[]
{ {
new FillFlowContainer new FillFlowContainer

View File

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