mirror of
https://github.com/ppy/osu
synced 2025-01-17 11:30:52 +00:00
Allow scaling display in the test scene
This commit is contained in:
parent
252d1924e7
commit
622458e857
@ -27,7 +27,6 @@ namespace osu.Game.Tests.Visual.Menus
|
||||
Origin = Anchor.Centre,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Height = Toolbar.HEIGHT,
|
||||
Scale = new Vector2(4),
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new Box
|
||||
@ -62,6 +61,8 @@ namespace osu.Game.Tests.Visual.Menus
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
AddSliderStep("scale", 0.5, 4, 1, scale => mainContainer.Scale = new Vector2((float)scale));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Loading…
Reference in New Issue
Block a user