mirror of
https://github.com/osukey/osukey.git
synced 2025-05-24 06:57:36 +09: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.
|
// 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 is required for the container to get a size (and give out correct metrics to the usages in SafeAreaContainer).
|
||||||
Add(
|
Add(safeAreaContainer = new SafeAreaDefiningContainer(safeArea = new BindableSafeArea())
|
||||||
safeAreaContainer = new SafeAreaDefiningContainer(safeArea = new BindableSafeArea())
|
{
|
||||||
{
|
RelativeSizeAxes = Axes.Both
|
||||||
RelativeSizeAxes = Axes.Both
|
});
|
||||||
});
|
|
||||||
|
|
||||||
// Cache is required for the test game to see the safe area.
|
// Cache is required for the test game to see the safe area.
|
||||||
Dependencies.CacheAs<ISafeArea>(safeAreaContainer);
|
Dependencies.CacheAs<ISafeArea>(safeAreaContainer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user