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:
parent
1725a76fa0
commit
3dbd0c9055
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user