Remove AspectAdjust property (override GetAspectAdjustedSize instead)

This commit is contained in:
smoogipoo 2018-02-19 17:05:10 +09:00
parent cd2c9a9de6
commit b7be162f28

View File

@ -33,11 +33,6 @@ namespace osu.Game.Rulesets.UI
/// </summary>
public abstract class RulesetContainer : Container
{
/// <summary>
/// Whether to apply adjustments to the child <see cref="Playfield"/> based on our own size.
/// </summary>
public bool AspectAdjust = true;
/// <summary>
/// The selected variant.
/// </summary>
@ -324,7 +319,7 @@ namespace osu.Game.Rulesets.UI
{
base.Update();
Playfield.Size = AspectAdjust ? GetAspectAdjustedSize() : Vector2.One;
Playfield.Size = GetAspectAdjustedSize();
}
/// <summary>