1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 14:12:55 +08:00

More Clean up

This commit is contained in:
John Neijzen 2017-06-08 15:27:35 +08:00
parent d9a9616125
commit 2f7d9655fd
9 changed files with 13 additions and 14 deletions

View File

@ -36,12 +36,12 @@ namespace osu.Desktop.VisualTests.Tests
});
first.Room.Name.Value = @"Great Room Right Here";
first.Room.Host.Value = new User { Username = @"Naeferith", Id = 9492835, Country = new Country { FlagName = @"FR" }};
first.Room.Host.Value = new User { Username = @"Naeferith", Id = 9492835, Country = new Country { FlagName = @"FR" } };
first.Room.Status.Value = new RoomStatusOpen();
first.Room.Beatmap.Value = new BeatmapMetadata { Title = @"Seiryu", Artist = @"Critical Crystal" };
second.Room.Name.Value = @"Relax It's The Weekend";
second.Room.Host.Value = new User { Username = @"peppy", Id = 2, Country = new Country { FlagName = @"AU" }};
second.Room.Host.Value = new User { Username = @"peppy", Id = 2, Country = new Country { FlagName = @"AU" } };
second.Room.Status.Value = new RoomStatusPlaying();
second.Room.Beatmap.Value = new BeatmapMetadata { Title = @"ZAQ", Artist = @"Serendipity" };

View File

@ -61,7 +61,7 @@ namespace osu.Game.Rulesets.Mania.UI
{
Name = "Hit target + hit objects",
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Top = ManiaPlayfield.HIT_TARGET_POSITION},
Padding = new MarginPadding { Top = ManiaPlayfield.HIT_TARGET_POSITION },
Children = new Drawable[]
{
new Container

View File

@ -68,7 +68,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
Size = new Vector2(TaikoHitObject.DEFAULT_CIRCLE_DIAMETER),
BlendingMode = BlendingMode.Additive,
Masking = true,
Children = new []
Children = new[]
{
new Box
{
@ -119,7 +119,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Children = new []
Children = new[]
{
symbol = new SwellSymbolPiece()
}

View File

@ -90,7 +90,7 @@ namespace osu.Game.Graphics.UserInterface
Offset = new Vector2(2, 0),
Radius = 2,
},
Children = new [] {
Children = new[] {
IconLayer = new Box
{
RelativeSizeAxes = Axes.Both,
@ -124,7 +124,7 @@ namespace osu.Game.Graphics.UserInterface
Offset = new Vector2(2, 0),
Radius = 2,
},
Children = new [] {
Children = new[] {
TextLayer = new Box
{
Origin = Anchor.TopLeft,

View File

@ -46,19 +46,19 @@ namespace osu.Game.Overlays
Direction = FillDirection.Vertical,
AutoSizeAxes = Axes.Y,
RelativeSizeAxes = Axes.X,
Children = new []
Children = new[]
{
new NotificationSection
{
Title = @"Notifications",
ClearText = @"Clear All",
AcceptTypes = new [] { typeof(SimpleNotification) },
AcceptTypes = new[] { typeof(SimpleNotification) },
},
new NotificationSection
{
Title = @"Running Tasks",
ClearText = @"Cancel All",
AcceptTypes = new [] { typeof(ProgressNotification) },
AcceptTypes = new[] { typeof(ProgressNotification) },
},
}
}

View File

@ -24,4 +24,3 @@ namespace osu.Game.Overlays.Settings.Sections
}
}
}

View File

@ -31,7 +31,7 @@ namespace osu.Game.Overlays.Settings
},
new SidebarScrollContainer
{
Children = new []
Children = new[]
{
content = new FillFlowContainer
{

View File

@ -53,7 +53,7 @@ namespace osu.Game.Overlays.Toolbar
Radius = 15,
Roundness = 15,
},
Children = new []
Children = new[]
{
new Box
{

View File

@ -232,7 +232,7 @@ namespace osu.Game.Screens.Play
AutoSizeAxes = Axes.Both,
Origin = Anchor.Centre,
Direction = FillDirection.Horizontal,
Children = new []
Children = new[]
{
new TextAwesome { Icon = FontAwesome.fa_chevron_right },
new TextAwesome { Icon = FontAwesome.fa_chevron_right },