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:
parent
ad878003f7
commit
136c57b824
@ -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);
|
||||
|
@ -79,8 +79,6 @@ namespace osu.Game.Screens.Multi.Components
|
||||
|
||||
public RoomInspector()
|
||||
{
|
||||
Width = 520;
|
||||
RelativeSizeAxes = Axes.Y;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
|
Loading…
Reference in New Issue
Block a user