1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 05:22:54 +08:00

Update osu.Game.Tests/Visual/Editing/TimelineTestScene.cs

Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
andy 2022-07-12 09:37:16 +08:00 committed by GitHub
parent 1725a76fa0
commit 3dbd0c9055
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,13 +39,10 @@ namespace osu.Game.Tests.Visual.Editing
Dependencies.Cache(EditorBeatmap); Dependencies.Cache(EditorBeatmap);
Dependencies.CacheAs<IBeatSnapProvider>(EditorBeatmap); Dependencies.CacheAs<IBeatSnapProvider>(EditorBeatmap);
Composer = playable.BeatmapInfo.Ruleset.CreateInstance().CreateHitObjectComposer().With(d => Composer = playable.BeatmapInfo.Ruleset.CreateInstance().CreateHitObjectComposer();
{ Debug.Assert(Composer != null);
if (d == null)
return;
d.Alpha = 0; Composer.Alpha = 0;
});
Add(new OsuContextMenuContainer Add(new OsuContextMenuContainer
{ {