Allow scaling display in the test scene

This commit is contained in:
Dean Herbert 2022-03-26 18:56:28 +09:00
parent 252d1924e7
commit 622458e857
1 changed files with 2 additions and 1 deletions

View File

@ -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]