mirror of
https://github.com/ppy/osu
synced 2024-12-16 20:05:41 +00:00
Remove AspectAdjust property (override GetAspectAdjustedSize instead)
This commit is contained in:
parent
cd2c9a9de6
commit
b7be162f28
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user