mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:53:21 +08:00
Update in line with framework changes
This commit is contained in:
parent
cff17f1864
commit
01fcf9c813
@ -101,7 +101,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
//our clock will now be our parent's clock, but we want to replace this to allow manual control.
|
//our clock will now be our parent's clock, but we want to replace this to allow manual control.
|
||||||
parentClock = Clock;
|
parentClock = Clock;
|
||||||
|
|
||||||
ShouldProcessClock = false;
|
ProcessCustomClock = false;
|
||||||
Clock = new FramedClock(clock = new ManualClock
|
Clock = new FramedClock(clock = new ManualClock
|
||||||
{
|
{
|
||||||
CurrentTime = parentClock.CurrentTime,
|
CurrentTime = parentClock.CurrentTime,
|
||||||
|
@ -57,7 +57,7 @@ namespace osu.Game.Screens.Play
|
|||||||
AddInternal(content = new Container
|
AddInternal(content = new Container
|
||||||
{
|
{
|
||||||
Clock = this.framedClock,
|
Clock = this.framedClock,
|
||||||
ShouldProcessClock = false,
|
ProcessCustomClock = false,
|
||||||
RelativeSizeAxes = Axes.Both
|
RelativeSizeAxes = Axes.Both
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ namespace osu.Game.Screens.Play
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Clock = offsetClock,
|
Clock = offsetClock,
|
||||||
ShouldProcessClock = false,
|
ProcessCustomClock = false,
|
||||||
Children = new[]
|
Children = new[]
|
||||||
{
|
{
|
||||||
storyboardContainer = new Container
|
storyboardContainer = new Container
|
||||||
@ -209,7 +209,7 @@ namespace osu.Game.Screens.Play
|
|||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Clock = offsetClock,
|
Clock = offsetClock,
|
||||||
ShouldProcessClock = false,
|
ProcessCustomClock = false,
|
||||||
Breaks = beatmap.Breaks
|
Breaks = beatmap.Breaks
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,7 @@ namespace osu.Game.Screens.Play
|
|||||||
if (FramedClock != null)
|
if (FramedClock != null)
|
||||||
{
|
{
|
||||||
Clock = FramedClock;
|
Clock = FramedClock;
|
||||||
ShouldProcessClock = false;
|
ProcessCustomClock = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
|
Loading…
Reference in New Issue
Block a user