mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
handle list padding in OsuMarkdownListItem
Reference : 5b0e3ac3ff/resources/assets/less/bem/osu-md.less (L193-L194)
This commit is contained in:
@ -9,6 +9,8 @@ namespace osu.Game.Graphics.Containers.Markdown
|
||||
{
|
||||
public class OsuMarkdownListItem : FillFlowContainer
|
||||
{
|
||||
private const float default_left_padding = 20;
|
||||
|
||||
public OsuMarkdownListItem()
|
||||
{
|
||||
AutoSizeAxes = Axes.Y;
|
||||
@ -16,6 +18,7 @@ namespace osu.Game.Graphics.Containers.Markdown
|
||||
|
||||
Direction = FillDirection.Vertical;
|
||||
Spacing = new Vector2(10, 10);
|
||||
Padding = new MarginPadding { Left = default_left_padding };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user