mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 12:42:54 +08:00
add comment for base font size heading
This commit is contained in:
parent
0d3ca8dde1
commit
b6560a616a
@ -24,6 +24,9 @@ namespace osu.Game.Graphics.Containers.Markdown
|
|||||||
|
|
||||||
protected override float GetFontSizeByLevel(int level)
|
protected override float GetFontSizeByLevel(int level)
|
||||||
{
|
{
|
||||||
|
// Reference for this font size
|
||||||
|
// https://github.com/ppy/osu-web/blob/376cac43a051b9c85ce95e2c446099be187b3e45/resources/assets/less/bem/osu-md.less#L9
|
||||||
|
// https://github.com/ppy/osu-web/blob/376cac43a051b9c85ce95e2c446099be187b3e45/resources/assets/less/variables.less#L161
|
||||||
const float base_font_size = 14;
|
const float base_font_size = 14;
|
||||||
|
|
||||||
switch (level)
|
switch (level)
|
||||||
|
Loading…
Reference in New Issue
Block a user