mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Merge branch 'master' into sharpen
This commit is contained in:
@ -19,7 +19,7 @@ namespace osu.Game.Graphics.Sprites
|
||||
public static class OsuSpriteTextTransformExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Sets <see cref="OsuSpriteText.Text"/> to a new value after a duration.
|
||||
/// Sets <see cref="SpriteText.Text">Text</see> to a new value after a duration.
|
||||
/// </summary>
|
||||
/// <returns>A <see cref="TransformSequence{T}"/> to which further transforms can be added.</returns>
|
||||
public static TransformSequence<T> TransformTextTo<T>(this T spriteText, string newText, double duration = 0, Easing easing = Easing.None)
|
||||
@ -27,7 +27,7 @@ namespace osu.Game.Graphics.Sprites
|
||||
=> spriteText.TransformTo(nameof(OsuSpriteText.Text), newText, duration, easing);
|
||||
|
||||
/// <summary>
|
||||
/// Sets <see cref="OsuSpriteText.Text"/> to a new value after a duration.
|
||||
/// Sets <see cref="SpriteText.Text">Text</see> to a new value after a duration.
|
||||
/// </summary>
|
||||
/// <returns>A <see cref="TransformSequence{T}"/> to which further transforms can be added.</returns>
|
||||
public static TransformSequence<T> TransformTextTo<T>(this TransformSequence<T> t, string newText, double duration = 0, Easing easing = Easing.None)
|
||||
|
@ -16,7 +16,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
private Color4? iconColour;
|
||||
|
||||
/// <summary>
|
||||
/// The icon colour. This does not affect <see cref="IconButton.Colour"/>.
|
||||
/// The icon colour. This does not affect <see cref="Drawable.Colour">Colour</see>.
|
||||
/// </summary>
|
||||
public Color4 IconColour
|
||||
{
|
||||
@ -49,7 +49,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The icon scale. This does not affect <see cref="IconButton.Scale"/>.
|
||||
/// The icon scale. This does not affect <see cref="Drawable.Scale">Scale</see>.
|
||||
/// </summary>
|
||||
public Vector2 IconScale
|
||||
{
|
||||
|
@ -32,7 +32,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
protected virtual float StripHeight() => 1;
|
||||
|
||||
/// <summary>
|
||||
/// Whether entries should be automatically populated if <see cref="T"/> is an <see cref="Enum"/> type.
|
||||
/// Whether entries should be automatically populated if <typeparamref name="T"/> is an <see cref="Enum"/> type.
|
||||
/// </summary>
|
||||
protected virtual bool AddEnumEntriesAutomatically => true;
|
||||
|
||||
|
Reference in New Issue
Block a user