Skip to content

Commit

Permalink
Nest boxes one more level
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Oct 25, 2024
1 parent f7afc48 commit 85c3fdb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions osu.Framework.Tests/TestSceneFocus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
}
Expand Down

0 comments on commit 85c3fdb

Please sign in to comment.