1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +08:00

initial WikiPanelMarkdownContainer

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-05-23 18:00:54 +07:00
parent d9e898a2ee
commit 4d222467cc
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -44,7 +44,7 @@ namespace osu.Game.Overlays.Wiki
RelativeSizeAxes = Axes.Both,
},
},
new WikiMarkdownContainer
new WikiPanelMarkdownContainer
{
Text = Text,
RelativeSizeAxes = Axes.X,
@ -52,5 +52,15 @@ namespace osu.Game.Overlays.Wiki
}
};
}
private class WikiPanelMarkdownContainer : WikiMarkdownContainer
{
public WikiPanelMarkdownContainer()
{
LineSpacing = 0;
DocumentPadding = new MarginPadding(30);
DocumentMargin = new MarginPadding(0);
}
}
}
}