mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 08:12:55 +08:00
61a9c6fd7e
Co-Authored-By: Salman Ahmed <frenzibyte@gmail.com>
26 lines
657 B
C#
26 lines
657 B
C#
// 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.
|
|
|
|
#nullable disable
|
|
|
|
using System;
|
|
using osu.Framework.Graphics.Sprites;
|
|
|
|
namespace osu.Game.Graphics.Sprites
|
|
{
|
|
public partial class OsuSpriteText : SpriteText
|
|
{
|
|
[Obsolete("Use TruncatingSpriteText instead.")]
|
|
public new bool Truncate
|
|
{
|
|
set => throw new InvalidOperationException($"Use {nameof(TruncatingSpriteText)} instead.");
|
|
}
|
|
|
|
public OsuSpriteText()
|
|
{
|
|
Shadow = true;
|
|
Font = OsuFont.Default;
|
|
}
|
|
}
|
|
}
|