From a855a21ccbf6a054911b337e12243b1e63ca2f90 Mon Sep 17 00:00:00 2001 From: "ANDY840119-PC\\andy840119" Date: Wed, 3 Jan 2018 23:04:51 +0900 Subject: [PATCH] group -> stage --- osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs b/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs index 8003738562..66e866af38 100644 --- a/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs +++ b/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs @@ -20,7 +20,7 @@ namespace osu.Game.Rulesets.Mania.UI public class ManiaPlayfield : ScrollingPlayfield { /// - /// list mania column group + /// list mania column stages /// private readonly FillFlowContainer listColumnStages; @@ -37,9 +37,9 @@ namespace osu.Game.Rulesets.Mania.UI get => listColumnStages.FirstOrDefault()?.SpecialColumnPosition ?? SpecialColumnPosition.Normal; set { - foreach (var singleGroup in listColumnStages) + foreach (var singleStage in listColumnStages) { - singleGroup.SpecialColumnPosition = value; + singleStage.SpecialColumnPosition = value; } } } @@ -81,11 +81,11 @@ namespace osu.Game.Rulesets.Mania.UI foreach (var stage in stages) { - var group = new ManiaColumnStage(stage.Columns); - group.VisibleTimeRange.BindTo(VisibleTimeRange); + var drawableStage = new ManiaColumnStage(stage.Columns); + drawableStage.VisibleTimeRange.BindTo(VisibleTimeRange); - listColumnStages.Add(group); - AddNested(group); + listColumnStages.Add(drawableStage); + AddNested(drawableStage); for (int i = 0; i < stage.Columns; i++) { @@ -95,7 +95,7 @@ namespace osu.Game.Rulesets.Mania.UI Action = currentAction++ }; - group.AddColumn(c); + drawableStage.AddColumn(c); AddNested(c); } } @@ -108,7 +108,6 @@ namespace osu.Game.Rulesets.Mania.UI { Scale = new Vector2(1, newValue ? -1 : 1); - //judgements.Scale = Scale; foreach (var single in listColumnStages) { single.Judgements.Scale = Scale;