mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 15:47:38 +09: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.")]
|
[SettingSource("Flashlight size", "Multiplier applied to the default flashlight size.")]
|
||||||
public override BindableNumber<float> SizeMultiplier { get; } = new BindableNumber<float>
|
public override BindableNumber<float> SizeMultiplier { get; } = new BindableNumber<float>
|
||||||
{
|
{
|
||||||
MinValue = 0f,
|
MinValue = 0.1f,
|
||||||
MaxValue = 4.5f,
|
MaxValue = 4.5f,
|
||||||
Default = 1f,
|
Default = 1f,
|
||||||
Value = 1f,
|
Value = 1f,
|
||||||
|
@ -20,7 +20,7 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
|||||||
[SettingSource("Flashlight size", "Multiplier applied to the default flashlight size.")]
|
[SettingSource("Flashlight size", "Multiplier applied to the default flashlight size.")]
|
||||||
public override BindableNumber<float> SizeMultiplier { get; } = new BindableNumber<float>
|
public override BindableNumber<float> SizeMultiplier { get; } = new BindableNumber<float>
|
||||||
{
|
{
|
||||||
MinValue = 0,
|
MinValue = 0.1f,
|
||||||
MaxValue = 1.66f,
|
MaxValue = 1.66f,
|
||||||
Default = 1f,
|
Default = 1f,
|
||||||
Value = 1f,
|
Value = 1f,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user