1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 16:02:58 +08:00

Make OutlinedNumberBox private and nested again

This commit is contained in:
Dean Herbert 2021-06-28 15:24:55 +09:00
parent 88c6143aae
commit eeb56970ef
2 changed files with 5 additions and 10 deletions

View File

@ -1,10 +0,0 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Overlays.Settings
{
public class OutlinedNumberBox : OutlinedTextBox
{
protected override bool CanAddCharacter(char character) => char.IsNumber(character);
}
}

View File

@ -58,5 +58,10 @@ namespace osu.Game.Overlays.Settings
});
}
}
private class OutlinedNumberBox : OutlinedTextBox
{
protected override bool CanAddCharacter(char character) => char.IsNumber(character);
}
}
}