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