mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 10:23:02 +08:00
18 lines
495 B
C#
18 lines
495 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 osu.Framework.Localisation;
|
|
|
|
namespace osu.Game.Graphics.UserInterface
|
|
{
|
|
/// <summary>
|
|
/// A slider bar which displays a millisecond time value.
|
|
/// </summary>
|
|
public class TimeSlider : OsuSliderBar<double>
|
|
{
|
|
public override LocalisableString TooltipText => $"{Current.Value:N0} ms";
|
|
}
|
|
}
|