mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 21:32:57 +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()
|
public override MarkdownTextFlowContainer CreateTextFlow()
|
||||||
{
|
{
|
||||||
var textFlow = base.CreateTextFlow();
|
return base.CreateTextFlow().With(f => f.Margin = new MarginPadding
|
||||||
textFlow.Margin = new MarginPadding
|
|
||||||
{
|
{
|
||||||
Vertical = 10,
|
Vertical = 10,
|
||||||
Horizontal = 20,
|
Horizontal = 20,
|
||||||
};
|
});
|
||||||
return textFlow;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user