diff --git a/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs b/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs index e787b70797..3c08b0ff34 100644 --- a/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs +++ b/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs @@ -54,7 +54,7 @@ namespace osu.Game.Rulesets.Mania.UI for (int i = 0; i < stageDefinitions.Count; i++) { var newStage = new ManiaStage(firstColumnIndex, stageDefinitions[i], ref normalColumnAction, ref specialColumnAction); - newStage.SpecialColumn.BindTo(SpecialColumnPosition); + newStage.SpecialColumnPosition.BindTo(SpecialColumnPosition); newStage.VisibleTimeRange.BindTo(VisibleTimeRange); newStage.Inverted.BindTo(Inverted); diff --git a/osu.Game.Rulesets.Mania/UI/ManiaStage.cs b/osu.Game.Rulesets.Mania/UI/ManiaStage.cs index e6dd2d7d7a..776bd9e556 100644 --- a/osu.Game.Rulesets.Mania/UI/ManiaStage.cs +++ b/osu.Game.Rulesets.Mania/UI/ManiaStage.cs @@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Mania.UI /// public readonly Bindable Inverted = new Bindable(true); - public readonly Bindable SpecialColumn = new Bindable(); + public readonly Bindable SpecialColumnPosition = new Bindable(); public IReadOnlyList Columns => columnFlow.Children; private readonly FillFlowContainer columnFlow; @@ -169,14 +169,14 @@ namespace osu.Game.Rulesets.Mania.UI /// Whether the column is a special column. private bool isSpecialColumn(int column) { - switch (SpecialColumn.Value) + switch (SpecialColumnPosition.Value) { default: - case SpecialColumnPosition.Normal: + case UI.SpecialColumnPosition.Normal: return definition.Columns % 2 == 1 && column == definition.Columns / 2; - case SpecialColumnPosition.Left: + case UI.SpecialColumnPosition.Left: return column == 0; - case SpecialColumnPosition.Right: + case UI.SpecialColumnPosition.Right: return column == definition.Columns - 1; } }