mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 10:22:56 +08:00
Add a bit more padding between node overlays and hitobjects in timeline
This commit is contained in:
parent
43addc8400
commit
d2cb07b157
@ -33,6 +33,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
public DifficultyPointPiece(HitObject hitObject)
|
public DifficultyPointPiece(HitObject hitObject)
|
||||||
{
|
{
|
||||||
HitObject = hitObject;
|
HitObject = hitObject;
|
||||||
|
Y = -2.5f;
|
||||||
|
|
||||||
speedMultiplier = (hitObject as IHasSliderVelocity)?.SliderVelocityMultiplierBindable.GetBoundCopy();
|
speedMultiplier = (hitObject as IHasSliderVelocity)?.SliderVelocityMultiplierBindable.GetBoundCopy();
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
public SamplePointPiece(HitObject hitObject)
|
public SamplePointPiece(HitObject hitObject)
|
||||||
{
|
{
|
||||||
HitObject = hitObject;
|
HitObject = hitObject;
|
||||||
|
Y = 2.5f;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool AlternativeColor { get; init; }
|
public bool AlternativeColor { get; init; }
|
||||||
|
@ -519,7 +519,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
{
|
{
|
||||||
Type = EdgeEffectType.Shadow,
|
Type = EdgeEffectType.Shadow,
|
||||||
Radius = 5,
|
Radius = 5,
|
||||||
Colour = Color4.Black.Opacity(0.4f)
|
Colour = Color4.Black.Opacity(0.05f)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user