mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Moved ScaleMode to UprightAspectMaintainingContainer.cs
This commit is contained in:
@ -119,4 +119,22 @@ namespace osu.Game.Graphics.Containers
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public enum ScaleMode
|
||||
{
|
||||
/// <summary>
|
||||
/// Prevent this container from scaling.
|
||||
/// </summary>
|
||||
NoScaling,
|
||||
|
||||
/// <summary>
|
||||
/// Scale uniformly (maintaining aspect ratio) based on the vertical scale of the parent.
|
||||
/// </summary>
|
||||
Vertical,
|
||||
|
||||
/// <summary>
|
||||
/// Scale uniformly (maintaining aspect ratio) based on the horizontal scale of the parent.
|
||||
/// </summary>
|
||||
Horizontal,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user