Skip to content

Commit

Permalink
Add missing EditorClock caching
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed May 13, 2022
1 parent d9782b5 commit 35026ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions osu.Game/Tests/Visual/SelectionBlueprintTestScene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,21 @@
// See the LICENCE file in the repository root for full licence text.

using JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Timing;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Screens.Edit;

namespace osu.Game.Tests.Visual
{
public abstract class SelectionBlueprintTestScene : OsuManualInputManagerTestScene
{
[Cached]
private readonly EditorClock editorClock = new EditorClock();

protected override Container<Drawable> Content => content ?? base.Content;
private readonly Container content;

Expand Down

0 comments on commit 35026ad

Please sign in to comment.