mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 11:27:24 +08:00
524b8e02ef
This reverts commit abba49fd8f
.
17 lines
545 B
C#
17 lines
545 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 osu.Framework.Localisation;
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
namespace osu.Game.Overlays.Settings.Sections
|
|
{
|
|
/// <summary>
|
|
/// A slider intended to show a "size" multiplier number, where 1x is 1.0.
|
|
/// </summary>
|
|
internal class SizeSlider : OsuSliderBar<float>
|
|
{
|
|
public override LocalisableString TooltipText => Current.Value.ToString(@"0.##x");
|
|
}
|
|
}
|