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:
parent
8777d5349b
commit
5d2e09137c
@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user