mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Remove handling for zero as MaxSizeComboCount, set lower limit as 5
This commit is contained in:
parent
28879529db
commit
86a5760ef4
@ -41,11 +41,11 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
[SettingSource(
|
||||
"Max Size at Combo",
|
||||
"The combo count at which the cursor reaches its maximum size",
|
||||
SettingControlType = typeof(SettingsSlider<int, MaxSizeSlider>)
|
||||
SettingControlType = typeof(SettingsSlider<int, RoundedSliderBar<int>>)
|
||||
)]
|
||||
public BindableInt MaxSizeComboCount { get; } = new BindableInt(50)
|
||||
{
|
||||
MinValue = 0,
|
||||
MinValue = 5,
|
||||
MaxValue = 100,
|
||||
};
|
||||
[SettingSource(
|
||||
@ -93,14 +93,5 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
realCursor.UpdateSize(currentCombSize);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
public partial class MaxSizeSlider : RoundedSliderBar<int>
|
||||
{
|
||||
public override LocalisableString TooltipText => Current.Value == 0 ? "always at max size" : base.TooltipText;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user