Fix difficulty adjust settings having more padding on sliders

This commit is contained in:
Joseph Madamba 2022-06-28 07:33:05 -07:00
parent 7c9c499e19
commit aacded0ecf
1 changed files with 3 additions and 2 deletions

View File

@ -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,
} }