mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 06:03:22 +08:00
More Clean up
This commit is contained in:
parent
d9a9616125
commit
2f7d9655fd
@ -36,12 +36,12 @@ namespace osu.Desktop.VisualTests.Tests
|
|||||||
});
|
});
|
||||||
|
|
||||||
first.Room.Name.Value = @"Great Room Right Here";
|
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.Status.Value = new RoomStatusOpen();
|
||||||
first.Room.Beatmap.Value = new BeatmapMetadata { Title = @"Seiryu", Artist = @"Critical Crystal" };
|
first.Room.Beatmap.Value = new BeatmapMetadata { Title = @"Seiryu", Artist = @"Critical Crystal" };
|
||||||
|
|
||||||
second.Room.Name.Value = @"Relax It's The Weekend";
|
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.Status.Value = new RoomStatusPlaying();
|
||||||
second.Room.Beatmap.Value = new BeatmapMetadata { Title = @"ZAQ", Artist = @"Serendipity" };
|
second.Room.Beatmap.Value = new BeatmapMetadata { Title = @"ZAQ", Artist = @"Serendipity" };
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
|||||||
{
|
{
|
||||||
Name = "Hit target + hit objects",
|
Name = "Hit target + hit objects",
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Padding = new MarginPadding { Top = ManiaPlayfield.HIT_TARGET_POSITION},
|
Padding = new MarginPadding { Top = ManiaPlayfield.HIT_TARGET_POSITION },
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new Container
|
new Container
|
||||||
|
@ -68,7 +68,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
|||||||
Size = new Vector2(TaikoHitObject.DEFAULT_CIRCLE_DIAMETER),
|
Size = new Vector2(TaikoHitObject.DEFAULT_CIRCLE_DIAMETER),
|
||||||
BlendingMode = BlendingMode.Additive,
|
BlendingMode = BlendingMode.Additive,
|
||||||
Masking = true,
|
Masking = true,
|
||||||
Children = new []
|
Children = new[]
|
||||||
{
|
{
|
||||||
new Box
|
new Box
|
||||||
{
|
{
|
||||||
@ -119,7 +119,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Children = new []
|
Children = new[]
|
||||||
{
|
{
|
||||||
symbol = new SwellSymbolPiece()
|
symbol = new SwellSymbolPiece()
|
||||||
}
|
}
|
||||||
|
@ -90,7 +90,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
Offset = new Vector2(2, 0),
|
Offset = new Vector2(2, 0),
|
||||||
Radius = 2,
|
Radius = 2,
|
||||||
},
|
},
|
||||||
Children = new [] {
|
Children = new[] {
|
||||||
IconLayer = new Box
|
IconLayer = new Box
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
@ -124,7 +124,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
Offset = new Vector2(2, 0),
|
Offset = new Vector2(2, 0),
|
||||||
Radius = 2,
|
Radius = 2,
|
||||||
},
|
},
|
||||||
Children = new [] {
|
Children = new[] {
|
||||||
TextLayer = new Box
|
TextLayer = new Box
|
||||||
{
|
{
|
||||||
Origin = Anchor.TopLeft,
|
Origin = Anchor.TopLeft,
|
||||||
|
@ -46,19 +46,19 @@ namespace osu.Game.Overlays
|
|||||||
Direction = FillDirection.Vertical,
|
Direction = FillDirection.Vertical,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Children = new []
|
Children = new[]
|
||||||
{
|
{
|
||||||
new NotificationSection
|
new NotificationSection
|
||||||
{
|
{
|
||||||
Title = @"Notifications",
|
Title = @"Notifications",
|
||||||
ClearText = @"Clear All",
|
ClearText = @"Clear All",
|
||||||
AcceptTypes = new [] { typeof(SimpleNotification) },
|
AcceptTypes = new[] { typeof(SimpleNotification) },
|
||||||
},
|
},
|
||||||
new NotificationSection
|
new NotificationSection
|
||||||
{
|
{
|
||||||
Title = @"Running Tasks",
|
Title = @"Running Tasks",
|
||||||
ClearText = @"Cancel All",
|
ClearText = @"Cancel All",
|
||||||
AcceptTypes = new [] { typeof(ProgressNotification) },
|
AcceptTypes = new[] { typeof(ProgressNotification) },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,4 +24,3 @@ namespace osu.Game.Overlays.Settings.Sections
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ namespace osu.Game.Overlays.Settings
|
|||||||
},
|
},
|
||||||
new SidebarScrollContainer
|
new SidebarScrollContainer
|
||||||
{
|
{
|
||||||
Children = new []
|
Children = new[]
|
||||||
{
|
{
|
||||||
content = new FillFlowContainer
|
content = new FillFlowContainer
|
||||||
{
|
{
|
||||||
|
@ -53,7 +53,7 @@ namespace osu.Game.Overlays.Toolbar
|
|||||||
Radius = 15,
|
Radius = 15,
|
||||||
Roundness = 15,
|
Roundness = 15,
|
||||||
},
|
},
|
||||||
Children = new []
|
Children = new[]
|
||||||
{
|
{
|
||||||
new Box
|
new Box
|
||||||
{
|
{
|
||||||
|
@ -232,7 +232,7 @@ namespace osu.Game.Screens.Play
|
|||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Direction = FillDirection.Horizontal,
|
Direction = FillDirection.Horizontal,
|
||||||
Children = new []
|
Children = new[]
|
||||||
{
|
{
|
||||||
new TextAwesome { Icon = FontAwesome.fa_chevron_right },
|
new TextAwesome { Icon = FontAwesome.fa_chevron_right },
|
||||||
new TextAwesome { Icon = FontAwesome.fa_chevron_right },
|
new TextAwesome { Icon = FontAwesome.fa_chevron_right },
|
||||||
|
Loading…
Reference in New Issue
Block a user