1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 05:50:10 +08:00

Move zero marker below control points to avoid common overlap scenario

This commit is contained in:
Dean Herbert
2024-08-22 01:09:22 +09:00
Unverified
parent 843b10ef34
commit fb5fb78fd3
@@ -111,6 +111,14 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
AddRange(new Drawable[]
{
ticks = new TimelineTickDisplay(),
new Box
{
Name = "zero marker",
RelativeSizeAxes = Axes.Y,
Width = TimelineTickDisplay.TICK_WIDTH / 2,
Origin = Anchor.TopCentre,
Colour = colourProvider.Background1,
},
controlPoints = new TimelineTimingChangeDisplay
{
RelativeSizeAxes = Axes.Both,
@@ -136,14 +144,6 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
userContent,
}
},
new Box
{
Name = "zero marker",
RelativeSizeAxes = Axes.Y,
Width = TimelineTickDisplay.TICK_WIDTH / 2,
Origin = Anchor.TopCentre,
Colour = colourProvider.Background1,
},
});
waveformOpacity = config.GetBindable<float>(OsuSetting.EditorWaveformOpacity);