1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 08:43:20 +08:00

simplify CreateTextFlow in quote block

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-05-06 15:11:45 +07:00
parent b6560a616a
commit e7c563fb67
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -33,13 +33,11 @@ namespace osu.Game.Graphics.Containers.Markdown
public override MarkdownTextFlowContainer CreateTextFlow()
{
var textFlow = base.CreateTextFlow();
textFlow.Margin = new MarginPadding
return base.CreateTextFlow().With(f => f.Margin = new MarginPadding
{
Vertical = 10,
Horizontal = 20,
};
return textFlow;
});
}
}
}