mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
add comment for base font size heading
This commit is contained in:
@ -24,6 +24,9 @@ namespace osu.Game.Graphics.Containers.Markdown
|
||||
|
||||
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;
|
||||
|
||||
switch (level)
|
||||
|
Reference in New Issue
Block a user