// Copyright (c) ppy Pty Ltd . 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; } } }