mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 05:47:20 +08:00
Don't cache ConfineMouseTracker
This commit is contained in:
parent
485bd962c7
commit
d1ec380692
@ -549,7 +549,6 @@ namespace osu.Game
|
||||
BackButton.Receptor receptor;
|
||||
|
||||
dependencies.CacheAs(idleTracker = new GameIdleTracker(6000));
|
||||
dependencies.Cache(confineMouseTracker = new ConfineMouseTracker());
|
||||
|
||||
AddRange(new Drawable[]
|
||||
{
|
||||
@ -586,7 +585,7 @@ namespace osu.Game
|
||||
leftFloatingOverlayContent = new Container { RelativeSizeAxes = Axes.Both },
|
||||
topMostOverlayContent = new Container { RelativeSizeAxes = Axes.Both },
|
||||
idleTracker,
|
||||
confineMouseTracker
|
||||
confineMouseTracker = new ConfineMouseTracker()
|
||||
});
|
||||
|
||||
ScreenStack.ScreenPushed += screenPushed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user