File tree 2 files changed +11
-7
lines changed
osu.Game/Screens/Edit/Components/Timelines/Summary
2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 3
3
4
4
using osu . Framework . Allocation ;
5
5
using osu . Framework . Bindables ;
6
+ using osu . Framework . Graphics ;
6
7
using osu . Framework . Graphics . Cursor ;
7
8
using osu . Framework . Localisation ;
8
9
using osu . Game . Extensions ;
@@ -36,6 +37,10 @@ public PreviewTimeVisualisation(double time)
36
37
: base ( time )
37
38
{
38
39
Alpha = 0.8f ;
40
+
41
+ // Display as a small circle on the middle line as to not clash with other displays.
42
+ RelativeSizeAxes = Axes . None ;
43
+ Height = Width = 5 ;
39
44
}
40
45
41
46
[ BackgroundDependencyLoader ]
Original file line number Diff line number Diff line change @@ -52,13 +52,6 @@ private void load(OverlayColourProvider colourProvider)
52
52
} ,
53
53
}
54
54
} ,
55
- new PreviewTimePart
56
- {
57
- Anchor = Anchor . Centre ,
58
- Origin = Anchor . TopCentre ,
59
- RelativeSizeAxes = Axes . Both ,
60
- Height = 0.4f ,
61
- } ,
62
55
new BreakPart
63
56
{
64
57
Anchor = Anchor . Centre ,
@@ -85,6 +78,12 @@ private void load(OverlayColourProvider colourProvider)
85
78
RelativeSizeAxes = Axes . Both ,
86
79
Height = 0.4f
87
80
} ,
81
+ new PreviewTimePart
82
+ {
83
+ Anchor = Anchor . Centre ,
84
+ Origin = Anchor . Centre ,
85
+ RelativeSizeAxes = Axes . Both ,
86
+ } ,
88
87
new MarkerPart { RelativeSizeAxes = Axes . Both } ,
89
88
} ;
90
89
}
You can’t perform that action at this time.
0 commit comments