mirror of
https://github.com/ppy/osu
synced 2025-02-04 04:11:54 +00:00
Moved ScaleMode to UprightAspectMaintainingContainer.cs
This commit is contained in:
parent
d6359b00ad
commit
24edffcbc4
@ -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,
|
||||
}
|
||||
}
|
||||
|
@ -1,23 +0,0 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
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,
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user