2022-03-04 03:25:19 +00:00
|
|
|
// 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.
|
|
|
|
|
2022-06-17 07:37:17 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2022-03-04 03:25:19 +00:00
|
|
|
using osu.Framework.Localisation;
|
|
|
|
|
|
|
|
namespace osu.Game.Graphics.UserInterface
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// A slider bar which displays a millisecond time value.
|
|
|
|
/// </summary>
|
2023-01-26 11:12:56 +00:00
|
|
|
public partial class TimeSlider : NormalSliderBar<double>
|
2022-03-04 03:25:19 +00:00
|
|
|
{
|
2022-03-05 13:58:51 +00:00
|
|
|
public override LocalisableString TooltipText => $"{Current.Value:N0} ms";
|
2022-03-04 03:25:19 +00:00
|
|
|
}
|
|
|
|
}
|