Move EditorMenuBar into the Edit namespace, and fix a minor styling issue.

This commit is contained in:
smoogipooo
2017-08-28 17:55:50 +09:00
parent 9142e75610
commit b17d9ac06e
9 changed files with 365 additions and 147 deletions

View File

@ -105,9 +105,10 @@ namespace osu.Game.Graphics.UserInterface
return base.OnClick(state);
}
protected override Drawable CreateContent() => text = new TextContainer();
protected sealed override Drawable CreateContent() => text = CreateTextContainer();
protected virtual TextContainer CreateTextContainer() => new TextContainer();
private class TextContainer : Container, IHasText
protected class TextContainer : Container, IHasText
{
public string Text
{