mirror of https://github.com/ppy/osu
Adjust "Floating Fruits" in line with layout changes
This commit is contained in:
parent
62f5251b6e
commit
9b17020707
|
@ -21,7 +21,6 @@ public class CatchModFloatingFruits : Mod, IApplicableToDrawableRuleset<CatchHit
|
|||
public void ApplyToDrawableRuleset(DrawableRuleset<CatchHitObject> drawableRuleset)
|
||||
{
|
||||
drawableRuleset.PlayfieldAdjustmentContainer.Scale = new Vector2(1, -1);
|
||||
drawableRuleset.PlayfieldAdjustmentContainer.Y = 1 - drawableRuleset.PlayfieldAdjustmentContainer.Y;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,6 +20,9 @@ public CatchPlayfieldAdjustmentContainer()
|
|||
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).
|
||||
|
|
Loading…
Reference in New Issue