diff --git a/osu.Game/Graphics/UserInterface/OsuSliderBar.cs b/osu.Game/Graphics/UserInterface/OsuSliderBar.cs index ee1f75c419..0c36d73085 100644 --- a/osu.Game/Graphics/UserInterface/OsuSliderBar.cs +++ b/osu.Game/Graphics/UserInterface/OsuSliderBar.cs @@ -17,18 +17,12 @@ namespace osu.Game.Graphics.UserInterface public abstract partial class OsuSliderBar : SliderBar, IHasTooltip where T : struct, IEquatable, IComparable, IConvertible { - private Sample sample = null!; - - private double lastSampleTime; - private T lastSampleValue; - public bool PlaySamplesOnAdjust { get; set; } = true; - [BackgroundDependencyLoader] - private void load(AudioManager audio) - { - sample = audio.Samples.Get(@"UI/notch-tick"); - } + /// + /// Whether to format the tooltip as a percentage or the actual value. + /// + public bool DisplayAsPercentage { get; set; } public virtual LocalisableString TooltipText { get; private set; } @@ -37,10 +31,16 @@ namespace osu.Game.Graphics.UserInterface /// private const int max_decimal_digits = 5; - /// - /// Whether to format the tooltip as a percentage or the actual value. - /// - public bool DisplayAsPercentage { get; set; } + private Sample sample = null!; + + private double lastSampleTime; + private T lastSampleValue; + + [BackgroundDependencyLoader] + private void load(AudioManager audio) + { + sample = audio.Samples.Get(@"UI/notch-tick"); + } protected override void LoadComplete() {