mirror of
https://github.com/ppy/osu.git
synced 2025-03-10 22:17:20 +08:00
Adjust preview time display to not conflict with bookmarks
This commit is contained in:
parent
7f99e60cfd
commit
e1723ec1bb
@ -3,6 +3,7 @@
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Cursor;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Extensions;
|
||||
@ -36,6 +37,10 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
|
||||
: base(time)
|
||||
{
|
||||
Alpha = 0.8f;
|
||||
|
||||
// Display as a small circle on the middle line as to not clash with other displays.
|
||||
RelativeSizeAxes = Axes.None;
|
||||
Height = Width = 5;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
|
@ -52,13 +52,6 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary
|
||||
},
|
||||
}
|
||||
},
|
||||
new PreviewTimePart
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.TopCentre,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Height = 0.4f,
|
||||
},
|
||||
new BreakPart
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
@ -85,6 +78,12 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Height = 0.4f
|
||||
},
|
||||
new PreviewTimePart
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
},
|
||||
new MarkerPart { RelativeSizeAxes = Axes.Both },
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user