1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:22:56 +08:00

Don't set size in ctor.

This commit is contained in:
DrabWeb 2018-05-19 02:27:33 -03:00
parent ad878003f7
commit 136c57b824
2 changed files with 2 additions and 2 deletions

View File

@ -71,6 +71,8 @@ namespace osu.Game.Tests.Visual
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Width = 0.5f,
});
AddStep(@"set room", () => inspector.Room = room);

View File

@ -79,8 +79,6 @@ namespace osu.Game.Screens.Multi.Components
public RoomInspector()
{
Width = 520;
RelativeSizeAxes = Axes.Y;
}
[BackgroundDependencyLoader]