mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 14:37:30 +08:00
Fix stage line alignment in mania not matching stable
This commit is contained in:
parent
678d14aa60
commit
3268008d21
@ -54,7 +54,8 @@ namespace osu.Game.Rulesets.Mania.Skinning.Legacy
|
|||||||
},
|
},
|
||||||
columnBackgrounds = new ColumnFlow<Drawable>(stageDefinition)
|
columnBackgrounds = new ColumnFlow<Drawable>(stageDefinition)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Y
|
RelativeSizeAxes = Axes.Y,
|
||||||
|
Masking = false,
|
||||||
},
|
},
|
||||||
new HitTargetInsetContainer
|
new HitTargetInsetContainer
|
||||||
{
|
{
|
||||||
@ -126,8 +127,8 @@ namespace osu.Game.Rulesets.Mania.Skinning.Legacy
|
|||||||
},
|
},
|
||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
|
X = isLastColumn ? -0.16f : 0,
|
||||||
Anchor = Anchor.TopRight,
|
Anchor = Anchor.TopRight,
|
||||||
Origin = Anchor.TopRight,
|
|
||||||
RelativeSizeAxes = Axes.Y,
|
RelativeSizeAxes = Axes.Y,
|
||||||
Width = rightLineWidth,
|
Width = rightLineWidth,
|
||||||
Scale = new Vector2(0.740f, 1),
|
Scale = new Vector2(0.740f, 1),
|
||||||
|
@ -28,6 +28,12 @@ namespace osu.Game.Rulesets.Mania.UI
|
|||||||
private readonly FillFlowContainer<Container<TContent>> columns;
|
private readonly FillFlowContainer<Container<TContent>> columns;
|
||||||
private readonly StageDefinition stageDefinition;
|
private readonly StageDefinition stageDefinition;
|
||||||
|
|
||||||
|
public new bool Masking
|
||||||
|
{
|
||||||
|
get => base.Masking;
|
||||||
|
set => base.Masking = value;
|
||||||
|
}
|
||||||
|
|
||||||
public ColumnFlow(StageDefinition stageDefinition)
|
public ColumnFlow(StageDefinition stageDefinition)
|
||||||
{
|
{
|
||||||
this.stageDefinition = stageDefinition;
|
this.stageDefinition = stageDefinition;
|
||||||
|
Loading…
Reference in New Issue
Block a user