mirror of https://github.com/ppy/osu
Fix difficulty adjust settings having more padding on sliders
This commit is contained in:
parent
7c9c499e19
commit
aacded0ecf
|
@ -10,6 +10,7 @@
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.UserInterface;
|
using osu.Framework.Graphics.UserInterface;
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
|
using osu.Game.Graphics.UserInterface;
|
||||||
using osu.Game.Overlays.Settings;
|
using osu.Game.Overlays.Settings;
|
||||||
|
|
||||||
namespace osu.Game.Rulesets.Mods
|
namespace osu.Game.Rulesets.Mods
|
||||||
|
@ -103,9 +104,9 @@ public SliderControl(BindableNumber<float> currentNumber)
|
||||||
{
|
{
|
||||||
InternalChildren = new Drawable[]
|
InternalChildren = new Drawable[]
|
||||||
{
|
{
|
||||||
new SettingsSlider<float>
|
new OsuSliderBar<float>
|
||||||
{
|
{
|
||||||
ShowsDefaultIndicator = false,
|
RelativeSizeAxes = Axes.X,
|
||||||
Current = currentNumber,
|
Current = currentNumber,
|
||||||
KeyboardStep = 0.1f,
|
KeyboardStep = 0.1f,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue