1
0
mirror of https://github.com/ppy/osu.git synced 2024-05-14 22:40:33 +08:00

Adjust "Floating Fruits" in line with layout changes

This commit is contained in:
Salman Ahmed 2024-02-14 01:03:21 +03:00
parent 62f5251b6e
commit 9b17020707
2 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,6 @@ namespace osu.Game.Rulesets.Catch.Mods
public void ApplyToDrawableRuleset(DrawableRuleset<CatchHitObject> drawableRuleset)
{
drawableRuleset.PlayfieldAdjustmentContainer.Scale = new Vector2(1, -1);
drawableRuleset.PlayfieldAdjustmentContainer.Y = 1 - drawableRuleset.PlayfieldAdjustmentContainer.Y;
}
}
}

View File

@ -20,6 +20,9 @@ namespace osu.Game.Rulesets.Catch.UI
const float base_game_width = 1024f;
const float base_game_height = 768f;
Anchor = Anchor.Centre;
Origin = Anchor.Centre;
InternalChild = new Container
{
// This container limits vertical visibility of the playfield to ensure fairness between wide and tall resolutions (i.e. tall resolutions should not see more fruits).