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> new OptionSlider<double,OffsetSlider>
{ {
LabelText = "Audio Offset", LabelText = "Audio Offset",
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.AudioOffset) Bindable = config.GetBindable<double>(OsuConfig.AudioOffset)
}, },
new OsuButton new OsuButton
{ {

View File

@ -21,12 +21,12 @@ namespace osu.Game.Overlays.Options.Sections.Gameplay
new OptionSlider<double,StarSlider> new OptionSlider<double,StarSlider>
{ {
LabelText = "Display beatmaps from", LabelText = "Display beatmaps from",
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.DisplayStarsMinimum) Bindable = config.GetBindable<double>(OsuConfig.DisplayStarsMinimum)
}, },
new OptionSlider<double,StarSlider> new OptionSlider<double,StarSlider>
{ {
LabelText = "up to", 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> new OptionSlider<double,SensitivitySlider>
{ {
LabelText = "Sensitivity", LabelText = "Sensitivity",
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.MouseSpeed) Bindable = config.GetBindable<double>(OsuConfig.MouseSpeed)
}, },
new OsuCheckbox new OsuCheckbox
{ {

View File

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