1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 15:43:22 +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.CacheAs<IBeatSnapProvider>(EditorBeatmap);
Composer = playable.BeatmapInfo.Ruleset.CreateInstance().CreateHitObjectComposer().With(d =>
{
if (d == null)
return;
Composer = playable.BeatmapInfo.Ruleset.CreateInstance().CreateHitObjectComposer();
Debug.Assert(Composer != null);
d.Alpha = 0;
});
Composer.Alpha = 0;
Add(new OsuContextMenuContainer
{