1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:07:23 +08:00

Make dropdown text nicer

This commit is contained in:
Bartłomiej Dach 2024-02-15 16:40:58 +01:00
parent 878fb2d10d
commit 4b2197039c
No known key found for this signature in database

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System; using System;
using System.ComponentModel;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Extensions.Color4Extensions;
@ -13,11 +14,12 @@ using osu.Framework.Utils;
using osu.Game.Rulesets.UI.Scrolling; using osu.Game.Rulesets.UI.Scrolling;
using osuTK; using osuTK;
using osuTK.Graphics; using osuTK.Graphics;
using Container = osu.Framework.Graphics.Containers.Container;
namespace osu.Game.Rulesets.Mania.UI namespace osu.Game.Rulesets.Mania.UI
{ {
/// <summary> /// <summary>
/// A <see cref="Container"/> that has its contents partially hidden by an adjustable "cover". This is intended to be used in a playfield. /// A <see cref="Framework.Graphics.Containers.Container"/> that has its contents partially hidden by an adjustable "cover". This is intended to be used in a playfield.
/// </summary> /// </summary>
public partial class PlayfieldCoveringWrapper : CompositeDrawable public partial class PlayfieldCoveringWrapper : CompositeDrawable
{ {
@ -157,11 +159,13 @@ namespace osu.Game.Rulesets.Mania.UI
/// <summary> /// <summary>
/// The cover expands along the scrolling direction. /// The cover expands along the scrolling direction.
/// </summary> /// </summary>
[Description("Along scroll")]
AlongScroll, AlongScroll,
/// <summary> /// <summary>
/// The cover expands against the scrolling direction. /// The cover expands against the scrolling direction.
/// </summary> /// </summary>
[Description("Against scroll")]
AgainstScroll AgainstScroll
} }
} }