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