1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:47:46 +08:00

Fix formatting

This commit is contained in:
DavidBeh 2024-04-24 12:40:23 +02:00
parent 16190a4ed7
commit 8c2a4eb78a
2 changed files with 1 additions and 2 deletions

View File

@ -46,10 +46,10 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
}
}
protected override void Update()
{
base.Update();
if (JudgedObject is DrawableOsuHitObject osuObject && Parent != null && osuObject.HitObject != null)
{
Position = osuObject.ToSpaceOfOtherDrawable(osuObject.OriginPosition, Parent!);

View File

@ -24,7 +24,6 @@ namespace osu.Game.Rulesets.Osu.Objects
{
public class Slider : OsuHitObject, IHasPathWithRepeats, IHasSliderVelocity, IHasGenerateTicks
{
public double EndTime => StartTime + this.SpanCount() * Path.Distance / Velocity;
[JsonIgnore]