mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:52:55 +08:00
Fix mania playfield not working.
This commit is contained in:
parent
88151eff3f
commit
cd3c825bd2
@ -125,6 +125,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
for (int i = 0; i < columnCount; i++)
|
||||
{
|
||||
var c = new Column();
|
||||
c.Reversed.BindTo(Reversed);
|
||||
c.VisibleTimeRange.BindTo(VisibleTimeRange);
|
||||
|
||||
columns.Add(c);
|
||||
|
@ -74,6 +74,8 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Playfield.Reversed.Value = true;
|
||||
|
||||
BarLines.ForEach(Playfield.Add);
|
||||
}
|
||||
|
||||
@ -81,8 +83,6 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
// Invert by default for now (should be moved to config/skin later)
|
||||
Scale = new Vector2(1, -1)
|
||||
};
|
||||
|
||||
public override ScoreProcessor CreateScoreProcessor() => new ManiaScoreProcessor(this);
|
||||
|
Loading…
Reference in New Issue
Block a user