mirror of
https://github.com/ppy/osu
synced 2025-03-21 02:17:48 +00:00
More CI fixes
This commit is contained in:
parent
90dacd9861
commit
529732ea47
osu.Game.Rulesets.Osu/Objects/Drawables
@ -53,12 +53,12 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
private WeakReference<OsuInputManager> osuActionInputManager = new WeakReference<OsuInputManager>(null);
|
private readonly WeakReference<OsuInputManager> osuActionInputManager = new WeakReference<OsuInputManager>(null);
|
||||||
internal OsuInputManager OsuActionInputManager
|
internal OsuInputManager OsuActionInputManager
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
OsuInputManager target = null;
|
OsuInputManager target;
|
||||||
if (osuActionInputManager.TryGetTarget(out target)) return target;
|
if (osuActionInputManager.TryGetTarget(out target)) return target;
|
||||||
target = GetContainingInputManager() as OsuInputManager;
|
target = GetContainingInputManager() as OsuInputManager;
|
||||||
osuActionInputManager.SetTarget(target);
|
osuActionInputManager.SetTarget(target);
|
||||||
|
@ -5,7 +5,6 @@ using System;
|
|||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Input;
|
using osu.Framework.Input;
|
||||||
using osu.Framework.Input.Bindings;
|
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using OpenTK.Graphics;
|
using OpenTK.Graphics;
|
||||||
|
Loading…
Reference in New Issue
Block a user