mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:28:00 +08:00
Disallow zero size multiplier in flashlight implementations
This commit is contained in:
parent
a227af75ed
commit
4a13c93ca7
@ -20,7 +20,7 @@ namespace osu.Game.Rulesets.Mania.Mods
|
||||
[SettingSource("Flashlight size", "Multiplier applied to the default flashlight size.")]
|
||||
public override BindableNumber<float> SizeMultiplier { get; } = new BindableNumber<float>
|
||||
{
|
||||
MinValue = 0f,
|
||||
MinValue = 0.1f,
|
||||
MaxValue = 4.5f,
|
||||
Default = 1f,
|
||||
Value = 1f,
|
||||
|
@ -20,7 +20,7 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
||||
[SettingSource("Flashlight size", "Multiplier applied to the default flashlight size.")]
|
||||
public override BindableNumber<float> SizeMultiplier { get; } = new BindableNumber<float>
|
||||
{
|
||||
MinValue = 0,
|
||||
MinValue = 0.1f,
|
||||
MaxValue = 1.66f,
|
||||
Default = 1f,
|
||||
Value = 1f,
|
||||
|
Loading…
Reference in New Issue
Block a user