1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Add comments

This commit is contained in:
Salman Ahmed 2024-03-01 22:57:13 +03:00
parent e0c73eb362
commit f1b66da469

View File

@ -50,6 +50,7 @@ namespace osu.Game.Rulesets.Mania.Skinning.Legacy
upSprite = new Sprite
{
Origin = Anchor.BottomCentre,
// ClampToEdge is used to avoid gaps between keys, see: https://github.com/ppy/osu/issues/27431
Texture = skin.GetTexture(upImage, WrapMode.ClampToEdge, WrapMode.ClampToEdge),
RelativeSizeAxes = Axes.X,
Width = 1
@ -57,6 +58,7 @@ namespace osu.Game.Rulesets.Mania.Skinning.Legacy
downSprite = new Sprite
{
Origin = Anchor.BottomCentre,
// ClampToEdge is used to avoid gaps between keys, see: https://github.com/ppy/osu/issues/27431
Texture = skin.GetTexture(downImage, WrapMode.ClampToEdge, WrapMode.ClampToEdge),
RelativeSizeAxes = Axes.X,
Width = 1,