1
0
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:
Bartłomiej Dach 2022-01-24 20:56:59 +01:00
parent a227af75ed
commit 4a13c93ca7
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,