Expand the functionality of Approach different

This commit is contained in:
MK56
2021-11-25 10:24:00 +01:00
parent a0cc7bbdc8
commit 5e0763ae33

View File

@ -26,7 +26,7 @@ namespace osu.Game.Rulesets.Osu.Mods
public BindableFloat Scale { get; } = new BindableFloat(4) public BindableFloat Scale { get; } = new BindableFloat(4)
{ {
Precision = 0.1f, Precision = 0.1f,
MinValue = 2, MinValue = 1.5f,
MaxValue = 10, MaxValue = 10,
}; };
@ -58,6 +58,9 @@ namespace osu.Game.Rulesets.Osu.Mods
case AnimationStyle.Accelerate1: case AnimationStyle.Accelerate1:
return Easing.In; return Easing.In;
case AnimationStyle.Linear:
return Easing.None;
case AnimationStyle.Accelerate2: case AnimationStyle.Accelerate2:
return Easing.InCubic; return Easing.InCubic;
@ -86,6 +89,7 @@ namespace osu.Game.Rulesets.Osu.Mods
public enum AnimationStyle public enum AnimationStyle
{ {
Linear,
Gravity, Gravity,
InOut1, InOut1,
InOut2, InOut2,