From da4be2f9d614f31ec845486285f7fd2a25ecd112 Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Thu, 11 May 2017 14:32:31 +0900 Subject: [PATCH] Move notes above judgement area but below keys. --- osu.Game.Rulesets.Mania/UI/Column.cs | 84 ++++++++++++++-------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/osu.Game.Rulesets.Mania/UI/Column.cs b/osu.Game.Rulesets.Mania/UI/Column.cs index abfa3c921b..4f89d3b634 100644 --- a/osu.Game.Rulesets.Mania/UI/Column.cs +++ b/osu.Game.Rulesets.Mania/UI/Column.cs @@ -54,6 +54,48 @@ namespace osu.Game.Rulesets.Mania.UI Alpha = 0.2f }, new Container + { + Name = "Hit target", + Anchor = Anchor.BottomCentre, + Origin = Anchor.BottomCentre, + RelativeSizeAxes = Axes.X, + Height = hit_target_height, + Y = -ManiaPlayfield.HIT_TARGET_POSITION, + Children = new Drawable[] + { + new Box + { + Name = "Background", + RelativeSizeAxes = Axes.Both, + Colour = Color4.Black + }, + hitTargetBar = new Container + { + Name = "Bar", + Anchor = Anchor.BottomCentre, + Origin = Anchor.BottomCentre, + RelativeSizeAxes = Axes.X, + Height = hit_target_bar_height, + Masking = true, + Children = new[] + { + new Box + { + RelativeSizeAxes = Axes.Both + } + } + } + } + }, + TimingSectionContainer = new TimingSectionContainer(timingSections) + { + Name = "Hit objects", + RelativeSizeAxes = Axes.Both, + Anchor = Anchor.BottomCentre, + Origin = Anchor.BottomCentre, + Y = -ManiaPlayfield.HIT_TARGET_POSITION + }, + new Container { Name = "Key", Anchor = Anchor.BottomCentre, @@ -90,48 +132,6 @@ namespace osu.Game.Rulesets.Mania.UI } } } - }, - TimingSectionContainer = new TimingSectionContainer(timingSections) - { - Name = "Hit objects", - RelativeSizeAxes = Axes.Both, - Anchor = Anchor.BottomCentre, - Origin = Anchor.BottomCentre, - Y = -ManiaPlayfield.HIT_TARGET_POSITION - }, - new Container - { - Name = "Hit target", - Anchor = Anchor.BottomCentre, - Origin = Anchor.BottomCentre, - RelativeSizeAxes = Axes.X, - Height = hit_target_height, - Y = -ManiaPlayfield.HIT_TARGET_POSITION, - Children = new Drawable[] - { - new Box - { - Name = "Background", - RelativeSizeAxes = Axes.Both, - Colour = Color4.Black - }, - hitTargetBar = new Container - { - Name = "Bar", - Anchor = Anchor.BottomCentre, - Origin = Anchor.BottomCentre, - RelativeSizeAxes = Axes.X, - Height = hit_target_bar_height, - Masking = true, - Children = new[] - { - new Box - { - RelativeSizeAxes = Axes.Both - } - } - } - } } }; }