mirror of
https://github.com/ppy/osu.git
synced 2025-03-24 09:37:19 +08:00
Improve tests slightly
This commit is contained in:
parent
92ed2ed4ef
commit
1ebaf4963d
@ -14,13 +14,13 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
public class TestSceneRangeSlider : OsuTestScene
|
||||
{
|
||||
[Cached]
|
||||
private OverlayColourProvider colourProvider = new OverlayColourProvider(OverlayColourScheme.Purple);
|
||||
private OverlayColourProvider colourProvider = new OverlayColourProvider(OverlayColourScheme.Red);
|
||||
|
||||
private readonly BindableNumber<double> customStart = new BindableNumber<double>
|
||||
{
|
||||
MinValue = 0,
|
||||
MaxValue = 100,
|
||||
Precision = 0.001f
|
||||
Precision = 0.1f
|
||||
};
|
||||
|
||||
private readonly BindableNumber<double> customEnd = new BindableNumber<double>(100)
|
||||
@ -44,7 +44,8 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
TooltipSuffix = "suffix",
|
||||
NubWidth = Nub.HEIGHT * 2,
|
||||
DefaultStringLowerBound = "Start",
|
||||
DefaultStringUpperBound = "End"
|
||||
DefaultStringUpperBound = "End",
|
||||
MinRange = 10
|
||||
});
|
||||
AddStep("Test Range", () =>
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user