mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09:00
Remove more local music controller caches
This commit is contained in:
parent
7d35893ecd
commit
322d08af1b
@ -1,7 +1,6 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using osu.Framework.Allocation;
|
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Game.Overlays;
|
using osu.Game.Overlays;
|
||||||
@ -11,14 +10,10 @@ namespace osu.Game.Tests.Visual.Menus
|
|||||||
{
|
{
|
||||||
public class TestSceneSongTicker : OsuTestScene
|
public class TestSceneSongTicker : OsuTestScene
|
||||||
{
|
{
|
||||||
[Cached]
|
|
||||||
private MusicController musicController = new MusicController();
|
|
||||||
|
|
||||||
public TestSceneSongTicker()
|
public TestSceneSongTicker()
|
||||||
{
|
{
|
||||||
AddRange(new Drawable[]
|
AddRange(new Drawable[]
|
||||||
{
|
{
|
||||||
musicController,
|
|
||||||
new SongTicker
|
new SongTicker
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
|
@ -26,9 +26,6 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
{
|
{
|
||||||
private readonly NowPlayingOverlay np;
|
private readonly NowPlayingOverlay np;
|
||||||
|
|
||||||
[Cached]
|
|
||||||
private MusicController musicController = new MusicController();
|
|
||||||
|
|
||||||
public TestSceneBeatSyncedContainer()
|
public TestSceneBeatSyncedContainer()
|
||||||
{
|
{
|
||||||
Clock = new FramedClock();
|
Clock = new FramedClock();
|
||||||
@ -36,7 +33,6 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
|
|
||||||
AddRange(new Drawable[]
|
AddRange(new Drawable[]
|
||||||
{
|
{
|
||||||
musicController,
|
|
||||||
new BeatContainer
|
new BeatContainer
|
||||||
{
|
{
|
||||||
Anchor = Anchor.BottomCentre,
|
Anchor = Anchor.BottomCentre,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user