mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 12:02:54 +08:00
24 lines
638 B
C#
24 lines
638 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.
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|