1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 01:47:24 +08:00

remove casts

This commit is contained in:
Jorolf 2017-04-21 14:41:00 +02:00
parent e53c4be356
commit b151c71c0e
4 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ namespace osu.Game.Overlays.Options.Sections.Audio
new OptionSlider<double,OffsetSlider>
{
LabelText = "Audio Offset",
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.AudioOffset)
Bindable = config.GetBindable<double>(OsuConfig.AudioOffset)
},
new OsuButton
{

View File

@ -21,12 +21,12 @@ namespace osu.Game.Overlays.Options.Sections.Gameplay
new OptionSlider<double,StarSlider>
{
LabelText = "Display beatmaps from",
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.DisplayStarsMinimum)
Bindable = config.GetBindable<double>(OsuConfig.DisplayStarsMinimum)
},
new OptionSlider<double,StarSlider>
{
LabelText = "up to",
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.DisplayStarsMaximum)
Bindable = config.GetBindable<double>(OsuConfig.DisplayStarsMaximum)
},
};
}

View File

@ -21,7 +21,7 @@ namespace osu.Game.Overlays.Options.Sections.Input
new OptionSlider<double,SensitivitySlider>
{
LabelText = "Sensitivity",
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.MouseSpeed)
Bindable = config.GetBindable<double>(OsuConfig.MouseSpeed)
},
new OsuCheckbox
{

View File

@ -62,12 +62,12 @@ namespace osu.Game.Overlays.Options.Sections
new OptionSlider<double,SizeSlider>
{
LabelText = "Menu cursor size",
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.MenuCursorSize)
Bindable = config.GetBindable<double>(OsuConfig.MenuCursorSize)
},
new OptionSlider<double,SizeSlider>
{
LabelText = "Gameplay cursor size",
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.GameplayCursorSize)
Bindable = config.GetBindable<double>(OsuConfig.GameplayCursorSize)
},
new OsuCheckbox
{