Remove number format specified from OsuSliderBar, override ToolTipText

Better/cleaner solution.
This commit is contained in:
smoogipoo
2018-01-10 17:29:16 +09:00
parent 17e7f75aca
commit c010b48b29
7 changed files with 5 additions and 328 deletions

View File

@ -2,7 +2,6 @@
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Globalization;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
@ -24,15 +23,6 @@ namespace osu.Game.Overlays.Settings
RelativeSizeAxes = Axes.X
};
/// <summary>
/// The format that will be used for the tooltip when the sliderbar is hovered.
/// </summary>
public NumberFormatInfo Format
{
get => ((U)Control).Format;
set => ((U)Control).Format = value;
}
public float KeyboardStep;
[BackgroundDependencyLoader]