mirror of
https://github.com/ppy/osu.git
synced 2025-02-28 07:32:55 +08:00
fix heading font weight to light
This commit is contained in:
parent
bd1454bdd1
commit
222c34c0a1
@ -116,7 +116,7 @@ namespace osu.Game.Overlays.Wiki
|
|||||||
f.TextAnchor = Anchor.TopCentre;
|
f.TextAnchor = Anchor.TopCentre;
|
||||||
});
|
});
|
||||||
|
|
||||||
protected override FontWeight GetFontWeightByLevel(int level) => FontWeight.Regular;
|
protected override FontWeight GetFontWeightByLevel(int level) => FontWeight.Light;
|
||||||
|
|
||||||
protected override float GetFontSizeByLevel(int level) => base.GetFontSizeByLevel(IsFullWidth ? level : 3);
|
protected override float GetFontSizeByLevel(int level) => base.GetFontSizeByLevel(IsFullWidth ? level : 3);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user