mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Limit shake duration to ensure it doesn't overlap miss window
This commit is contained in:
@ -30,8 +30,8 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
Position = slider.CurvePositionAt(completionProgress);
|
||||
}
|
||||
|
||||
public Action OnShake;
|
||||
public Action<double> OnShake;
|
||||
|
||||
protected override void Shake() => OnShake?.Invoke();
|
||||
protected override void Shake(double maximumLength) => OnShake?.Invoke(maximumLength);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user