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:
parent
b6560a616a
commit
e7c563fb67
@ -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;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user