1
0
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:
smoogipoo 2020-08-12 01:50:18 +09:00
parent e47a1eb313
commit c0031955c9
2 changed files with 3 additions and 3 deletions

View File

@ -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 =>
{ {

View File

@ -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()