mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Add playfield shift like in osu-stable
This commit is contained in:
@ -55,6 +55,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
|||||||
// Scale = 819.2 / 512
|
// Scale = 819.2 / 512
|
||||||
// Scale = 1.6
|
// Scale = 1.6
|
||||||
Scale = new Vector2(Parent.ChildSize.X / OsuPlayfield.BASE_SIZE.X);
|
Scale = new Vector2(Parent.ChildSize.X / OsuPlayfield.BASE_SIZE.X);
|
||||||
|
Position = new Vector2(0, 8 * Parent.ChildSize.Y / OsuPlayfield.BASE_SIZE.Y);
|
||||||
// Size = 0.625
|
// Size = 0.625
|
||||||
Size = Vector2.Divide(Vector2.One, Scale);
|
Size = Vector2.Divide(Vector2.One, Scale);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user