mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:18:22 +08:00
Merge pull request #6538 from peppy/fix-editor-clock-stopping
Fix editor's clock not being processed unless composer is loaded
This commit is contained in:
commit
2f4f1c6d99
@ -57,7 +57,8 @@ namespace osu.Game.Rulesets.Edit
|
||||
{
|
||||
drawableRulesetWrapper = new DrawableEditRulesetWrapper<TObject>(CreateDrawableRuleset(Ruleset, workingBeatmap, Array.Empty<Mod>()))
|
||||
{
|
||||
Clock = framedClock
|
||||
Clock = framedClock,
|
||||
ProcessCustomClock = false
|
||||
};
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -173,6 +173,12 @@ namespace osu.Game.Screens.Edit
|
||||
bottomBackground.Colour = colours.Gray2;
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
clock.ProcessFrame();
|
||||
}
|
||||
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
switch (e.Key)
|
||||
|
Loading…
Reference in New Issue
Block a user