mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 01:47:24 +08:00
remove casts
This commit is contained in:
parent
e53c4be356
commit
b151c71c0e
@ -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
|
||||
{
|
||||
|
@ -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)
|
||||
},
|
||||
};
|
||||
}
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user