Allow using SizeSlider on different value types

This commit is contained in:
Salman Ahmed
2022-02-16 03:25:03 +03:00
parent f7edf25d4c
commit 7654584e40
4 changed files with 8 additions and 6 deletions

View File

@ -24,7 +24,7 @@ namespace osu.Game.Overlays.Settings.Sections.UserInterface
LabelText = UserInterfaceStrings.CursorRotation,
Current = config.GetBindable<bool>(OsuSetting.CursorRotation)
},
new SettingsSlider<float, SizeSlider>
new SettingsSlider<float, SizeSlider<float>>
{
LabelText = UserInterfaceStrings.MenuCursorSize,
Current = config.GetBindable<float>(OsuSetting.MenuCursorSize),