diff --git a/osu.Framework.Tests/TestSceneFocus.cs b/osu.Framework.Tests/TestSceneFocus.cs index 114c1530f8..d6ae9946a2 100644 --- a/osu.Framework.Tests/TestSceneFocus.cs +++ b/osu.Framework.Tests/TestSceneFocus.cs @@ -119,13 +119,16 @@ public void IndirectFocus() Origin = Anchor.Centre, RelativeSizeAxes = Axes.Both, Size = new Vector2(0.5f), - Child = obj2 = new FocusableObject + Child = new FocusableObject { Size = Vector2.One, - Click = () => + Child = obj2 = new FocusableObject { - system.ReleaseFocus(obj2); - return true; + Click = () => + { + system.ReleaseFocus(obj2); + return true; + } } } }