1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Remove text padding in editor menu for now

This commit is contained in:
ansel 2023-01-15 14:40:53 +03:00
parent 8777d5349b
commit 5d2e09137c

View File

@ -9,15 +9,13 @@ namespace osu.Game.Screens.Edit.Components.Menus
{
public class EditorMenuItem : OsuMenuItem
{
private const int min_text_length = 40;
public EditorMenuItem(LocalisableString text, MenuItemType type = MenuItemType.Standard)
: base(LocalisableString.Interpolate($"{text,-min_text_length}"), type)
: base(text, type)
{
}
public EditorMenuItem(LocalisableString text, MenuItemType type, Action action)
: base(LocalisableString.Interpolate($"{text,-min_text_length}"), type, action)
: base(text, type, action)
{
}
}