1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 21:01:01 +08:00

Fix editor's clock not being processed unless composer is loaded

This commit is contained in:
Dean Herbert
2019-10-18 18:21:53 +09:00
Unverified
parent b391b8542d
commit 07286c0cfc
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -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)
+6
View File
@@ -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)