1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 07:27:25 +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)
{
RelativeSizeAxes = Axes.Both,
Clock = new FramedClock(UsingThemedIntro ? (IAdjustableClock)Track : null),
Clock = new FramedClock(UsingThemedIntro ? Track : null),
LoadMenu = LoadMenu
}, t =>
{

View File

@ -132,7 +132,7 @@ namespace osu.Game.Screens.Play
Schedule(() =>
{
adjustableClock.ChangeSource((IAdjustableClock)track);
adjustableClock.ChangeSource(track);
updateRate();
if (!IsPaused.Value)
@ -201,7 +201,7 @@ namespace osu.Game.Screens.Play
removeSourceClockAdjustments();
track = new TrackVirtual(track.Length);
adjustableClock.ChangeSource((IAdjustableClock)track);
adjustableClock.ChangeSource(track);
}
protected override void Update()