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