mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 23:43:03 +08:00
Fix weird formatting in TestSceneSafeArea
This commit is contained in:
parent
8fc4d0c6f5
commit
6457cf8d9b
@ -29,11 +29,10 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
// Usually this would be placed between the host and the game, but that's a bit of a pain to do with the test scene hierarchy.
|
||||
|
||||
// Add is required for the container to get a size (and give out correct metrics to the usages in SafeAreaContainer).
|
||||
Add(
|
||||
safeAreaContainer = new SafeAreaDefiningContainer(safeArea = new BindableSafeArea())
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both
|
||||
});
|
||||
Add(safeAreaContainer = new SafeAreaDefiningContainer(safeArea = new BindableSafeArea())
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both
|
||||
});
|
||||
|
||||
// Cache is required for the test game to see the safe area.
|
||||
Dependencies.CacheAs<ISafeArea>(safeAreaContainer);
|
||||
|
Loading…
Reference in New Issue
Block a user