mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 18:27:26 +08:00
Update with further framework changes
This commit is contained in:
parent
e47a1eb313
commit
c0031955c9
@ -59,7 +59,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
LoadComponentAsync(new TrianglesIntroSequence(logo, background)
|
LoadComponentAsync(new TrianglesIntroSequence(logo, background)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Clock = new FramedClock(UsingThemedIntro ? (IAdjustableClock)Track : null),
|
Clock = new FramedClock(UsingThemedIntro ? Track : null),
|
||||||
LoadMenu = LoadMenu
|
LoadMenu = LoadMenu
|
||||||
}, t =>
|
}, t =>
|
||||||
{
|
{
|
||||||
|
@ -132,7 +132,7 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
Schedule(() =>
|
Schedule(() =>
|
||||||
{
|
{
|
||||||
adjustableClock.ChangeSource((IAdjustableClock)track);
|
adjustableClock.ChangeSource(track);
|
||||||
updateRate();
|
updateRate();
|
||||||
|
|
||||||
if (!IsPaused.Value)
|
if (!IsPaused.Value)
|
||||||
@ -201,7 +201,7 @@ namespace osu.Game.Screens.Play
|
|||||||
removeSourceClockAdjustments();
|
removeSourceClockAdjustments();
|
||||||
|
|
||||||
track = new TrackVirtual(track.Length);
|
track = new TrackVirtual(track.Length);
|
||||||
adjustableClock.ChangeSource((IAdjustableClock)track);
|
adjustableClock.ChangeSource(track);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Update()
|
protected override void Update()
|
||||||
|
Loading…
Reference in New Issue
Block a user